Description Usage Arguments Examples
A function to filter the data by countries and cases types.
1 | filter_data(data, country_name, type_name)
|
data |
A data frame containing a |
country_name |
A country you want to select. |
type_name |
Types you can select including "confirmed", "deaths" and "recovered". If you want to multiple select types, please use c("type1", "type2"). |
1 2 3 4 5 | ## Not run:
covid19_time_Australia <- filter_data(covid19_time, "Australia",c("confirmed","deaths"))
tibble::view(covid19_time_Australia)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.