Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "format"

Index

Functions

formatGlobalParsedData

formatParsedData

formatUSParsedData

getAustraliaTotalData

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

    Parameters

    Returns InternalLocationData

getCanadaTotalData

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

    Parameters

    Returns InternalLocationData

getChinaTotalData

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

    Parameters

    Returns InternalLocationData

getUSStateTotalsData

getValuesFromParsedRows

sumMultipleLocationValues

Generated using TypeDoc