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), anamefor the new dataset, theparent_dataset_idand an optionalfilenameand create the new dataset. The response will include theidof the new dataset inhmi-server.