teco-kit / explorer

GNU General Public License v3.0
1 stars 0 forks source link

Download as CSV #15

Open TobiasRoeddiger opened 3 years ago

TobiasRoeddiger commented 3 years ago

when clicking on a dataset, we should let the user download the dataset as csv not json. similar to our format that we use for uploading.

@tk-king please post the sample csv file here (incl. units)

tk-king commented 3 years ago

example_current.csv example_new.csv

example_current can be uploaded to the explorer currently.

examplenew is an example how the new format could look like. This also includes columns for the labels. To differentiate between data and label columns, "sensor" and "label_" prefixes are used. The name of the column follows the prefix. Units are allowed on data columns and have to be in square brackets.

Column schemes: sensor_name[unit] label_name