We apply some transformations to model features in https://github.com/ccao-data/pinval in order to make the values more readable, e.g. formatting other_tax_bill_rate as a percentage and formatting acs5_median_income as currency. It would be nice to encode these transformations in vars_dict so that we can use them more widely.
See Dan's original comment (ccao-data/homeval#18 (comment)) for more context.
Data dictionary update checklist
We apply some transformations to model features in https://github.com/ccao-data/pinval in order to make the values more readable, e.g. formatting
other_tax_bill_rateas a percentage and formattingacs5_median_incomeas currency. It would be nice to encode these transformations invars_dictso that we can use them more widely.See Dan's original comment (ccao-data/homeval#18 (comment)) for more context.
Data dictionary update checklist
data-raw/<data_dict>.R. This will save the CSV as an R data file (data/<data_dict>.Rda). This file is what the unit tests and package run against.R/data.R. This is where help docs for the packaged data.frame are kept. It needs to be updated manually to reflect the changes to the raw data.devtools::test()to make sure all unit tests pass with the new dictionary.devtools::document()to generate new man files from the changes toR/data.R.devtools::check()to run a test package build.pkgdown::build_site()and navigate to the reference page to make sure the changes are reflected on the docs website.