check_data {usincometaxes} | R Documentation |
Ensure input data set has required fields and data types are correct
Description
Check to ensure all the required column are present and data types are correct. This function binds all the checks through helper functions.
Usage
check_data(.data, cols, state_column_name)
Arguments
.data |
A data frame containing the input parameters for the TAXSIM 35 program. The column names of the input parameters are below. The column can be in any order. |
cols |
The column names, as a string, in the data set |
state_column_name |
The column name of the state column. |
Value
The function does not return a value. It either produces a stop message with the error or prints that all checks were successful.
[Package usincometaxes version 0.7.1 Index]