Description Usage Arguments Value References Examples
View source: R/VaccinationCanada.R
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.
1 | VaccinationCanada(dateOfInterest = "none")
|
dateOfInterest |
The string indicates the date of interest.(year-mongth-day) |
Returns a data frame with 16 different columns that each indicates COVID-19 vaccination related counts.
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
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
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.