Description Usage Arguments Value Examples
View source: R/get_countries_years.R
A wrapper for get_country_year
to allow acquisition of multiple
countries and multiple years data.
1 2 3 4 5 6 7 | get_countries_years(
periods,
reporters,
token = "",
dest_folder = getwd(),
unzip = FALSE
)
|
periods |
a vector of years |
reporters |
a vector of reporter (country) codes |
token |
bulk download API access token |
dest_folder |
folder to save file in format id-year.<suffix>. Defaults to working directory |
unzip |
whether to unzip the downloaded file. |
data is saved into the location specifid in dest_folder
1 2 3 4 | ## Not run:
get_countries_years(c(2015:2018), c(152, 156), "xxxx", "~/downloads", FALSE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.