xmart_col_types: Get the column types for xMart columns

View source: R/utils_wrangling.R

xmart_col_typesR Documentation

Get the column types for xMart columns

Description

A helper function for specifying the expected column types for the Triple Billions data.

Usage

xmart_col_types(data_type = c("wrangled_data", "projected_data", "final_data"))

Arguments

data_type

(string): the type of data

  • wrangled_data (default): raw data that has been wrangled into a suitable form for analysis.

  • projected_data: data that has been fully projected to the target year but has not yet been transformed or calculated upon.

  • final_data: the complete set of billions data with transformed values, contributions, and all calculations available.

Value

a named vector with column specifications

See Also

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


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