pandemicData-objects: pandemicData objects: Pandemic Data

pandemicData-objectsR Documentation

pandemicData objects: Pandemic Data

Description

The load_covid function and format_data function return an object of S3 class pandemicData in a list format containing the components described below.

Elements for pandemicData object

data

data frame with the number of cumulative cases, new cases or/and cumulative deaths and new deaths for each date in the specified location.

name

string with the location name.

population

numeric object that contains the population size of the given location.


PandemicLP documentation built on March 18, 2022, 6:22 p.m.