get_gho_data | R Documentation |
Given a code, returns the corresponding GHO data.
get_gho_data(code, filter = NULL)
code |
A GHO code. |
filter |
A named list of filtering parameters. Each parameter must be the correct type. |
Filtering parameters are given as a named list of the
form list(COUNTRY = "FRA", ...)
.
If you mispecify the filtering parameter, you will get a 400 Bad Request Error
A GHO
object
## Not run:
result <- get_gho_data(
code = "MDG_0000000001"
)
print(result, width = Inf)
result <- get_gho_data(
code = "MDG_0000000001",
filter = list(
REGION = "EUR",
YEAR = 2015
)
)
print(result, width = Inf)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.