reichlab / docs.zoltardata

Documentation for the docs.zoltardata.com site
https://docs.zoltardata.com/
0 stars 1 forks source link

Review supported CSV formats for import/export #6

Open matthewcornell opened 4 years ago

matthewcornell commented 4 years ago

At some point we should revisit which CSV formats our two libraries (zoltpy and zoltr) should support importing/uploading into Zoltar (i.e., CSV -> native JSON) and exporting/downloading from Zoltar (JSON -> CSV). Here are the options for the four formats currently under consideration, and whether they're supported or not. The right-hand columns are paired: Import from CSV, and export to CSV:

CSV format ZoltPY upload ZoltR upload ZoltPY download ZoltR download
1) CDC csv (for FluSight challenge) x x - -
2) CDC csv (for COVID projects) - - - -
3) predx-style csv (for general-purpose utility) - - x -
4) quantile csv (for COVID projects) x - x -

Columns: 1) Location, Target, Type, Unit, Bin_start_incl, Bin_end_notincl, Value - FluSightNetwork/cdc-flusight-ensemble 2) location, target, type, bin, value - cdcepi/COVID-19-ILI-forecasting-submissions 3) location, target, class, family, param1, param2, param3, value, cat, prob, sample 4) location, target, type, quantile, value (required for zoltar); 'forecast_date', 'target_end_date' (required for covid); all others are allowed but ignored; columns can be in any order

mzorn-58 commented 3 years ago

@matthewcornell Can this issue be closed?

matthewcornell commented 3 years ago

Prioritization is up to @nickreich .