Skip to contents

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