getCovid: COVID-19 statistics

Description Usage Arguments Value Examples

View source: R/getCovid.R

Description

COVID-19 statistics

Usage

1
getCovid(codes = NULL, dates = NULL)

Arguments

codes

List or string of country codes

dates

List of dates for which you want the data (you can use the getDays function)

Value

A data frame containing the number of cases and deaths for each countries mentioned as well as the latest population data

Examples

1
2
3
4
5
getCovid()
getCovid(codes = "FR")
getCovid(dates = "2021-04-01")
getCovid(codes = c("AT", "FR"),
dates = getDays(startDate = "2021-04-01", endDate = "2021-04-04"))

nathanael-g-durst/EuroCovTrackeR documentation built on Dec. 21, 2021, 11:12 p.m.