Description Usage Arguments Value See Also Examples
This function is used to execute a query to clio-infra, and returns a data.frame containing the required variables, countries and years specified by the user.
1 |
variables |
The variables you want to obtain (provided to you by |
countries |
If left empty, all countries. |
from |
Start year |
to |
End year |
list |
Defaults to FALSE. If TRUE, returns a list of each variable |
mergetype |
Defaults to full_join. Can be set to inner_join, outer_join, left_join, etc. |
a data.frame containing the required variables, countries and years specified by the user.
Clio::clio_get_cat()
if you want to extract data by categories instead of by variables.
1 2 3 4 5 6 7 8 9 10 | clio_get(c("infant mortality", "zinc production"))
clio_get(c("biodiversity - naturalness", "xecutive Constraints (XCONST)"),
from = 1850, to = 1900,
countries = c("Armenia", "Azerbaijan"))
clio_get(c("Zinc production", "Gold production"),
from = 1800, to = 1920,
countries = c("Botswana", "Zimbabwe",
mergetype = inner_join))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.