chanzuckerberg / galago

Interpretation aids for genomic epidemiology
https://chanzuckerberg.github.io/galago/
MIT License
8 stars 3 forks source link

Metadata upload doesn't handle dates properly #101

Open sidneymbell opened 2 years ago

sidneymbell commented 2 years ago

While papaparse in theory should be able to detect and parse Date data types, this is inconsistent at best and often gets ingested as a string (i.e., categorical data) instead.

Currently these fields fail QC checks and then just get omitted (i.e., the app doesn't fall over), but we should really be handling this more appropriately.

If I were debugging this problem, I'd start here as a place to insert helpful debugging statements and potentially call a new function to detect and properly parse the dates.