save_gho_backup_to_whdh: Backup GHO data to the WHDH Data Lake

View source: R/utils_whdh.R

save_gho_backup_to_whdhR Documentation

Backup GHO data to the WHDH Data Lake

Description

This function simplifies the process of creating backups snapshots of GHO data and saving these to the WHDH data lake.

Usage

save_gho_backup_to_whdh(df, billion, ind_code, silent = FALSE)

Arguments

df

The response from the GHO API, typically the result of calling ghost::gho_data().

billion

The billion to which the indicator belongs

ind_code

The GPW13 code for the indicator

silent

Passed to whdh::upload_to_data_lake(). Determines if upload messages and progress bar are shown

Details

It returns the input data frame, without any changes.

Value

The original data frame

See Also

Wrangle data functions add_missing_xmart_rows(), get_data_lake_name(), get_whdh_path(), has_xmart_cols(), save_wrangled_output(), wrangle_gho_data(), wrangle_gho_rural_urban_data(), wrangle_unsd_data(), xmart_col_types(), xmart_cols()


gpw13/billionaiRe documentation built on Sept. 27, 2024, 10:05 p.m.