Convert a data frame to the TAXSIM 35 output.
Source:R/calculate_taxes.R
create_dataset_for_taxsim.Rd
This function takes a data set that is in the format required for taxsim_calculate_taxes
,
checks it to make sure it is in the proper format for TAXSIM 35, and then cleans so it can be sent to TAXSIM 35.
This function is useful for troubleshooting. It is not needed to calculate taxes. The function is useful
if you continue receiving unreasonable errors from taxsim_calculate_taxes
. In such as case,
you can run this function on your data set. You should then save the resulting
data frame as a csv file. Then, upload the file to TAXSIM 35.
Arguments
- .data
Data frame containing the information that will be used to calculate taxes. This data set will be sent to TAXSIM. Data frame must have specified column names and data types.
Value
A data frame that that can be manually uploaded to TAXSIM 35.
Details
create_dataset_for_taxsim
takes the same columns as column names as TAXSIM 35.