Adds two functions, along with documentation and tests.
verify_required_variables() will be used internally for functions to check that the input dataset contains the correct variables for the algorithm.
get_register_abbrev() lists the abbreviations for the registers we require.
Also created an internal dataset that lists the registers and variables needed. This internal dataset (generated in data-raw/variable-descriptions.R file) is used for other functions to check that the data has the correct variables.
This is a "stacked PR" that builds on #37.
Adds two functions, along with documentation and tests.
verify_required_variables()
will be used internally for functions to check that the input dataset contains the correct variables for the algorithm.get_register_abbrev()
lists the abbreviations for the registers we require.Also created an internal dataset that lists the registers and variables needed. This internal dataset (generated in
data-raw/variable-descriptions.R
file) is used for other functions to check that the data has the correct variables.Closes #33