dataset
This context is used for ad hoc manipulation of datasets in either Python, Julia, or R. These manipulations might include basic data munging or more complex tasks. On setup it expects a dataset map to be provided where the key is the variable name for the dataet in the context and the value is the dataset ID in the hmi-server
. For example:
{
"df_hosp": "truth-incident-hospitalization",
"df_cases": "truth-incident-case"
}
Note that multiple datasets may be loaded at a given time. This context has 2 custom message types:
download_dataset_request
: stream a download of the desired dataset as specified byvar_name
(e.g.df
).save_dataset_request
: save a dataset as specified byvar_name
(e.g.df
), aname
for the new dataset, theparent_dataset_id
and an optionalfilename
and create the new dataset. The response will include theid
of the new dataset inhmi-server
.