load_billion_data_legacy | R Documentation |
load_billion_data_legacy()
is the legacy version of load_billion_data()
.
It provides access to the raw inputs to the Billions stored within the World
Health Organization's xMart4 database. By default, it filters
the loaded data to take the most recently uploaded data for each indicator,
country, and year. The user can also specify to take the latest data before a
certain time period, or to extract all data from the database.
load_billion_data_legacy(
billion = c("hep", "hpop", "uhc", "all"),
mart_table = c("full_data", "raw_data", "projected_data", "unproj_data", "proj_data"),
date_filter = "latest",
na_rm = TRUE,
format = c("csv", "streaming", "none"),
...
)
billion |
Billions data to load, one of "hep" (default), "hpop", "uhc", or "all". |
mart_table |
Name of xMart4 table in the GPW13 mart to load data from.
|
date_filter |
One of |
na_rm |
Logical value, specifying whether to filter the data to only rows
where |
format |
Specification of the output format to be returned by the xMart API.
Defaults to |
... |
Additional arguments passed to |
This function requires that the user have the xmart4 package installed and setup to access the GPW13 mart. Details are available on the GitHub landing page linked above.
A data frame.
Other access_data:
load_billion_data_whdh()
,
load_billion_data_xmart()
,
load_billion_data()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.