Acquires Canada Covid data of specified type and for an optionally provided date and province

get_covid_data(data_type = "cases", loc = "", date = "")

Arguments

data_type

string containing type of metric requested

loc

string indicating province of interest

date

string indicating date of interest

Value

dataframe of Covid data

Examples

get_covid_data('cases', 'BC', '13-01-2021')
#>   cases cumulative_cases date_report province
#> 1   519            59072  13-01-2021       BC