Description Usage Arguments Value Examples
Perform data wrangling and cleaning using the API for the Covid-19 cases in Canada. It processes the API and returns the data corresponding to one province which is passed on as the argument. If user passes empty argument, so by default Canada is used which returns the data of whole Canada as a whole. The returned data is a data frame and contains the columns including the date, province name, active cases, change is active cases, cumulative cases, cumulative deaths and cumulative recovered.
1 | active_cases(provinceName = "Canada")
|
provinceName |
a character/string depicting the name of the province |
Data frame for the Covid-19 active cases corresponding to a particular province
1 | active_cases("Alberta")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.