Skip to content

Commit f8d6a50

Browse files
Move to Hugging Face Census data backups (#160)
* Datasets are not being uploaded to Hugging Face Fixes #156 * Move to HF backups
1 parent 68780c4 commit f8d6a50

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

policyengine_us_data/datasets/acs/census_acs.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,3 +206,4 @@ class CensusACS_2022(CensusACS):
206206
name = "census_acs_2022.h5"
207207
file_path = STORAGE_FOLDER / "census_acs_2022.h5"
208208
time_period = 2022
209+
url = "hf://policyengine/policyengine-us-data/census_acs_2022.h5"

policyengine_us_data/datasets/cps/census_cps.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ class CensusCPS_2023(CensusCPS):
124124
name = "census_cps_2023"
125125
file_path = STORAGE_FOLDER / "census_cps_2023.h5"
126126
data_format = Dataset.TABLES
127+
url = "hf://policyengine/policyengine-us-data/census_cps_2023.h5"
127128

128129

129130
class CensusCPS_2022(CensusCPS):
@@ -132,6 +133,7 @@ class CensusCPS_2022(CensusCPS):
132133
name = "census_cps_2022"
133134
file_path = STORAGE_FOLDER / "census_cps_2022.h5"
134135
data_format = Dataset.TABLES
136+
url = "hf://policyengine/policyengine-us-data/census_cps_2022.h5"
135137

136138

137139
class CensusCPS_2021(CensusCPS):
@@ -140,6 +142,7 @@ class CensusCPS_2021(CensusCPS):
140142
name = "census_cps_2021"
141143
file_path = STORAGE_FOLDER / "census_cps_2021.h5"
142144
data_format = Dataset.TABLES
145+
url = "hf://policyengine/policyengine-us-data/census_cps_2021.h5"
143146

144147

145148
class CensusCPS_2020(CensusCPS):
@@ -148,6 +151,7 @@ class CensusCPS_2020(CensusCPS):
148151
name = "census_cps_2020"
149152
file_path = STORAGE_FOLDER / "census_cps_2020.h5"
150153
data_format = Dataset.TABLES
154+
url = "hf://policyengine/policyengine-us-data/census_cps_2020.h5"
151155

152156

153157
class CensusCPS_2019(CensusCPS):

0 commit comments

Comments
 (0)