Import and Transform Data
This page covers operations for importing data, applying transformations, and managing data flow in Mascot.
| function | explanation | return type |
|---|---|---|
| async msc.csv(url) | import a CSV file as a data table url (String): path to the file | Promise |
| async msc.csvFromString(data, name) | import CSV data in a string as a data table data (String): CSV data in a string name (String): name of the data | Promise |
| async msc.treeJSON(url) | import a tree dataset in the JSON format as a tree url (String): path to the file | Promise |
| async msc.graphJSON(url) | import a network dataset in the JSON format as a Network url (String): path to the file | Promise |