Skip to content

Commit

Permalink
Add PUF to generated datasets
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilwoodruff committed Sep 28, 2024
1 parent 91beb16 commit b0d4711
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ documentation:
data:
python policyengine_us_data/datasets/acs/acs.py
python policyengine_us_data/datasets/cps/cps.py
python policyengine_us_data/datasets/puf/irs_puf.py
python policyengine_us_data/datasets/puf/puf.py
python policyengine_us_data/datasets/cps/extended_cps.py
python policyengine_us_data/datasets/cps/enhanced_cps.py

Expand Down
3 changes: 3 additions & 0 deletions policyengine_us_data/datasets/puf/irs_puf.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,6 @@ class IRS_PUF_2015(IRS_PUF):
puf_file_path = STORAGE_FOLDER / "puf_2015.csv"
puf_demographics_file_path = STORAGE_FOLDER / "demographics_2015.csv"
file_path = STORAGE_FOLDER / "irs_puf_2015.h5"

if __name__ == "__main__":
IRS_PUF_2015().generate()
3 changes: 3 additions & 0 deletions policyengine_us_data/datasets/puf/puf.py
Original file line number Diff line number Diff line change
Expand Up @@ -514,3 +514,6 @@ class PUF_2024(PUF):
"medicare_part_b_premiums": 0.137,
"over_the_counter_health_expenses": 0.085,
}

if __name__ == "__main__":
PUF_2015().generate()

0 comments on commit b0d4711

Please sign in to comment.