Casts the values read by the CSV reader to the correct types, and unifies column names used in different files.
Converts a string containing a date to a Date object, if it is in the right format, such as "1/2/20".
A string containing a date in the format "month/date/year", e.g. "1/2/20".
Converts the given Date object to a string in "month/day/year" format, e.g. "1/2/20".
Returns an object containing the location information in a ParsedCSVRow.
The CSV files containing the US county data have different column names than the files containing the global data. This method converts the US data column names to the ones we internally use (see columnTitles.
Returns true
if the given column name is a date.
Parses the contents of a CSV file from the JHU CSSE time series data.
The column names to use in parsed data objects.
The column names in global data CSV files.
The column names in US data CSV files.
Generated using TypeDoc
The format of the date columns in the CSV files is "month/day/year", e.g. "1/2/20" for January 2, 2020. This is the regular expression for parsing them.