Description Usage Arguments Value Functions Examples
View source: R/read_intervention.R
import mobility google reports, acasp and unesco data on interventions
1 2 3 4 5 6 7 8 9 | read_google_global()
read_google_region_list()
read_google_region_country(country_iso = "PE")
read_acaps_governments()
read_unesco_education()
|
country_iso |
two letter iso code for each country available in read_google_region_list() |
import external data sources on covid19 human behaviour or interventions
read_google_global
: import google mobility reports
read_google_region_list
: print list of files inside regional zip file
read_google_region_country
: import regional mobility data for one country
read_acaps_governments
: import acaps dataset
read_unesco_education
: import unesco dataset
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | ## Not run:
library(covid19viz)
library(tidyverse)
# google mobility reports
# global
read_google_global()
# regional
# first: select country ISO
read_google_region_list()
# second: read specific country data
peru <- read_google_region_country(country_iso = "PE")
peru %>% count(sub_region_1)
# acaps data
read_acaps_governments()
# unesco education data
read_unesco_education()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.