File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 44from policyengine .utils .data_download import download
55from typing import Tuple
66
7+ EFRS_2022 = "gcs://policyengine-uk-data-private/enhanced_frs_2022_23.h5"
8+ FRS_2022 = "gcs://policyengine-uk-data-private/frs_2022_23.h5"
9+ CPS_2023_POOLED = "gcs://policyengine-us-data/pooled_3_year_cps_2023.h5"
10+ CPS_2023 = "gcs://policyengine-us-data/cps_2023.h5"
11+ ECPS_2024 = "gcs://policyengine-us-data/ecps_2024.h5"
12+
713
814def get_default_dataset (
915 country : str , region : str , version : str | None = None
1016) -> str :
1117 if country == "uk" :
12- return "gcs://policyengine-uk-data-private/enhanced_frs_2022_23.h5"
18+ return EFRS_2022
1319 elif country == "us" :
1420 if region is not None and region != "us" :
15- return "gcs://policyengine-us-data/pooled_3_year_cps_2023.h5"
21+ return CPS_2023_POOLED
1622 else :
17- return "gcs://policyengine-us-data/cps_2023.h5"
23+ return CPS_2023
1824
1925 raise ValueError (
2026 f"Unable to select a default dataset for country { country } and region { region } ."
You can’t perform that action at this time.
0 commit comments