This commit adds a number of utilities for making wrangling for data updates a little easier (and more automated).
Added wrangled_rural_urban_gho_data() with functionality to supplant wrangle_gho_data() for indicators where the data has an additional RESIDENCEAREATYPE dimension with possible values of TOTL, URB and RUR.
Added xmart_cols(), has_xmart_cols(), save_wrangled_output() utility functions for easier wrangling of data updates.
In the future, the wrangled_ruran_urban_gho_data function could probably be made more general to deal with other types of dimensions in the data and, if so, moved to the xmart4 package so anyone dealing with additional dimensions in GHO responses could use it.
This commit adds a number of utilities for making wrangling for data updates a little easier (and more automated).
wrangled_rural_urban_gho_data()
with functionality to supplantwrangle_gho_data()
for indicators where the data has an additional RESIDENCEAREATYPE dimension with possible values ofTOTL
,URB
andRUR
.xmart_cols()
,has_xmart_cols()
,save_wrangled_output()
utility functions for easier wrangling of data updates.In the future, the
wrangled_ruran_urban_gho_data
function could probably be made more general to deal with other types of dimensions in the data and, if so, moved to the xmart4 package so anyone dealing with additional dimensions in GHO responses could use it.