Skip to content

Commit b0d4711

Browse files
Add PUF to generated datasets
1 parent 91beb16 commit b0d4711

3 files changed

Lines changed: 8 additions & 0 deletions

File tree

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ documentation:
3434
data:
3535
python policyengine_us_data/datasets/acs/acs.py
3636
python policyengine_us_data/datasets/cps/cps.py
37+
python policyengine_us_data/datasets/puf/irs_puf.py
38+
python policyengine_us_data/datasets/puf/puf.py
3739
python policyengine_us_data/datasets/cps/extended_cps.py
3840
python policyengine_us_data/datasets/cps/enhanced_cps.py
3941

policyengine_us_data/datasets/puf/irs_puf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,6 @@ class IRS_PUF_2015(IRS_PUF):
4242
puf_file_path = STORAGE_FOLDER / "puf_2015.csv"
4343
puf_demographics_file_path = STORAGE_FOLDER / "demographics_2015.csv"
4444
file_path = STORAGE_FOLDER / "irs_puf_2015.h5"
45+
46+
if __name__ == "__main__":
47+
IRS_PUF_2015().generate()

policyengine_us_data/datasets/puf/puf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -514,3 +514,6 @@ class PUF_2024(PUF):
514514
"medicare_part_b_premiums": 0.137,
515515
"over_the_counter_health_expenses": 0.085,
516516
}
517+
518+
if __name__ == "__main__":
519+
PUF_2015().generate()

0 commit comments

Comments
 (0)