VaccinationCanada: Canada COVID-19 Vaccination Count

Description Usage Arguments Value References Examples

View source: R/VaccinationCanada.R

Description

A function that demonstrates the COVID-19 vaccination data in Canada. User is able to enter the date of interested to look up the vaccination data of Canada on that specific date.

Usage

1
VaccinationCanada(dateOfInterest = "none")

Arguments

dateOfInterest

The string indicates the date of interest.(year-mongth-day)

Value

Returns a data frame with 16 different columns that each indicates COVID-19 vaccination related counts.

References

Ponce et al. (2021). covid19.analytics: An R Package to Obtain, Analyze and Visualize Data from the Coronavirus Disease Pandemic. Journal of Open Source Software, 6(59), 2995. https://doi.org/10.21105/joss.02995

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# Example 1:
#Use the function with arguments "all" demonstrates all the vaccination info.

covidVaccination <- VaccinationCanada("all")
covidVaccination

# Example 2:
#Use the function only with the one argument.

covidVaccination <- VaccinationCanada("2021-01-01")
covidVaccination

RicoZong/covid19Canada documentation built on Dec. 18, 2021, 10:50 a.m.