knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
usincometaxes
calculates taxes through the function taxsim_calculate_taxes(.data)
. The key parameter in this function is .data
, which is a data frame containing the information used to calculate income taxes. Each column in .data
contains financial or household information and maps to the variables in TAXSIM 35 . All variables in TAXSIM 35 can be used in usincometaxes
.
The column names in usincometaxes
are the same as TAXSIM 35's variable names. The data types for inputs are also the same as what is noted in the TAXSIM 35 documentation, except for two exceptions.
mstat
, users can either enter a description of the filing status (shown below) or the number required by TAXSIM.state
, users can enter the two letter state abbreviation or the SOI code, as required by TAXSIM.usincometaxes
will convert descriptions of filing statuses or state abbreviations to the numbers required by TAXSIM.
.data
can contain columns beyond those listed below. The additional columns will be ignored.
.data
.
If state income taxes are not needed, either label as "No State" or remove this variable. State income tax information is only available from 1977 to 2023.
Ages of any additional dependents are not relevant for the tax calculation, but all dependents should be included in \code{depx}.
Incomes
The following are for the TCJA Business Tax Deduction.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.