Skip to content

Commit

Permalink
Merge pull request PolicyEngine#35 from noman404/noman404/issue-fix22
Browse files Browse the repository at this point in the history
Noman404/issue fix22
  • Loading branch information
noman404 authored Oct 23, 2024
2 parents 1639e7c + b625946 commit 3104ea2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -167,3 +167,5 @@ cython_debug/
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
.idea/
input/*
output.csv
taxsim_input.csv
4 changes: 4 additions & 0 deletions policyengine_taxsim/core/input_mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ def import_single_household(taxsim_vars):
mappings = load_variable_mappings()["taxsim_to_policyengine"]

year = str(int(taxsim_vars["year"])) # Ensure year is an integer string

if "state" not in taxsim_vars: # If state is not provided set it to AL as default state
taxsim_vars["state"] = 1

state = get_state_code(taxsim_vars["state"])

situation = {
Expand Down

0 comments on commit 3104ea2

Please sign in to comment.