Skip to content

Instantly share code, notes, and snippets.

@aficionado
Last active September 1, 2017 05:08
Show Gist options
  • Save aficionado/1495dd03e59a80ed1de5fe6f1e31fb35 to your computer and use it in GitHub Desktop.
Save aficionado/1495dd03e59a80ed1de5fe6f1e31fb35 to your computer and use it in GitHub Desktop.
{
"name": "Merge two datasets",
"description": "Merges two different datasets",
"source_code": "script.whizzml",
"inputs": [
{
"name": "dataset-1",
"type": "dataset-id",
"description": "First dataset"
},
{
"name": "dataset-2",
"type": "dataset-id",
"description": "Second dataset"
}
],
"outputs": [
{
"name": "new-dataset",
"type": "dataset-id",
"description": "New dataset"
}
]
}
(define (create-new-dataset dataset-id-1 dataset-id-2)
(create-and-wait-dataset {"origin_datasets" [dataset-id-1 dataset-id-2]}))
(define new-dataset (create-new-dataset dataset-1 dataset-2))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment