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.
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.