Converts parsed CSV objects into an easier to consume format.
Converts parsed CSV objects that contain US COVID-19 time series into an easier to consume format.
Calculates the data for Australia.
The values for Australia are represented separately for each state in the JHU CSSE data. This function calculates the country totals by summing the data for all the states in Australia.
InternalLocationData array containing the data for all the states of Australia.
Calculates the data for Canada.
The values for Canada are represented separately for each state in the JHU CSSE data. This function calculates the country totals by summing the data for all the provinces in Canada.
*Also, there is no recoveries data for any of the provinces of Canada in the JHU CSSE data, but there is recoveries data for Canada as a whole. This function incorporates this recoveries data into the returned InternalLocationData object.
The ParsedCSV object containing the global recoveries time series data.
InternalLocationData array containing the data for all the provinces of Canada.
Calculates the data for China.
The values for China are represented separately for each province in the JHU CSSE data. This function calculates the country totals by summing the data for all the provinces in China.
InternalLocationData array containing the data for all the provinces of China.
Calculates the data for all US states.
The values in the US data files only include data at the county level. This function calculates state totals by summing the data for all counties of a given state.
InternalLocationData array containing the data for all of the counties in the USA.
An array of InternalLocationData with each element containing the data for a US state.
Extracts values (confirmed cases, deaths and recoveries) from the given CSV rows.
All keys of the given ParsedCSVRow objects that contain a value for a certain day.
A ParsedCSVRow object containing the confirmed cases data for a location.
A ParsedCSVRow object containing the deaths data for a certain location.
A ParsedCSVRow object containing the recoveries data for a location.
Sums confirmed cases, deaths and recoveries in the given InternalLocationData objects.
Generated using TypeDoc
Converts parsed CSV objects that contain global COVID-19 time series into an easier to consume format.