Skip to content

PolicyEngine/policyengine-taxsim

Repository files navigation

Policyengine-taxsim

TAXSIM emulator using the PolicyEngine US federal and state tax calculator

How to use the emulator

The emulator takes a .csv file in the form of a csv. This is the same form of input that Taxsim-35 takes.

In terminal, run

python policyengine_taxsim/cli.py resources/taxsim35/taxsim_input.csv

Output will be generated as output.csv in the same directory

Example

input file:

Screenshot 2024-07-10 at 6 29 17 PM

List of working input variables

Demographics:

  1. taxsimid
  2. year
  3. state
  4. mstat (only 1 (single) and 2 (joint) filing options work)
  5. page (age of primary taxpayer)
  6. sage (age of spouse)
  7. depx (number of dependents)
  8. age1 (age of first dependent)
  9. age2 (age of second dependent)
  10. age3 (age of third dependent)

Income:

  1. pwages (wage of primary taxpayer)
  2. swages (wage of spouse)
  3. psemp (self-employment income of primary taxpayer)
  4. ssemp (self-employment income of spouse)
  5. dividends (dividend income)
  6. intrec (taxable interest received)
  7. stcg (short-term capital gains)
  8. ltcg (long-term capital gains)
  9. pui (primary taxpayer unemployment compensation received)
  10. sui (spouse unemployment compensation received)
  11. proptax (real estate taxes paid)

About

TAXSIM emulator using the PolicyEngine US federal and state tax calculator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published