Skip to content

Instantly share code, notes, and snippets.

@andersonfrailey
Last active February 3, 2018 02:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andersonfrailey/8dd09e22142af5e714d200dd4fc1aac5 to your computer and use it in GitHub Desktop.
Save andersonfrailey/8dd09e22142af5e714d200dd4fc1aac5 to your computer and use it in GitHub Desktop.
rec = tc.Records(data='../Tax-Calculator/puf.csv')
pol = tc.Policy()
calc_base = tc.Calculator(records=rec, policy=pol)
calc_base.advance_to_year(2018)
calc_base.calc_all()
records = tc.Records(data='../Tax-Calculator/puf.csv')
policy = tc.Policy()
calc = tc.Calculator(records=records, policy=policy)
# read in and implement reform file
reform = calc.read_json_param_objects('../Tax-Calculator/taxcalc/reforms/TCJA_Reconciliation.json',
assump=None)
calc.policy.implement_reform(reform['policy'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment