get_whdh_path | R Documentation |
get_whdh_path()
simplifies the process of generating accurate file paths for
downloading/uploading files from the Triple Billions WHDH data lake.
get_whdh_path(
operation = c("download", "upload"),
data_type = c("wrangled_data", "projected_data", "final_data", "ingestion_data"),
billion = c("all", "hep", "hpop", "uhc"),
ind_codes = "all",
file_names = NULL,
experiment = "unofficial"
)
operation |
(string) Either "download" or "upload". |
data_type |
(string) The type of data to load.
|
billion |
(string) One of "all" (default), "hep", "hpop", or "uhc". If "all", the file paths for all indicators in all three bilions are returned. |
ind_codes |
(character vector) The name of the indicator (or indicators) to load data for.
If |
file_names |
(character vector) The name(s) of the file(s) to download.
NULL by default. Ignored if either |
experiment |
(string) Either
|
Using this function when working with the data lake is highly recommended as it ensures file paths abide by the established standards and directory structure for the data lake.
A character vector.
Wrangle data functions
add_missing_xmart_rows()
,
get_data_lake_name()
,
has_xmart_cols()
,
save_gho_backup_to_whdh()
,
save_wrangled_output()
,
wrangle_gho_data()
,
wrangle_gho_rural_urban_data()
,
wrangle_unsd_data()
,
xmart_col_types()
,
xmart_cols()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.