-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Auxilio Brazil Test Data and Readme file added * reverted the changes * I have raised PR for BLS CPI changes * updated cron expressions to 0 3 2,16 * * * Vishal PR comments addressed
- Loading branch information
1 parent
350674a
commit 5e0331a
Showing
37 changed files
with
11,449 additions
and
655,744 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -110,80 +110,11 @@ The license is available online at https://www.bls.gov/bls/linksite.htm. | |
- Contains StatisticalVariables for C-CPI-U series. | ||
- [cpi_u.mcf](cpi_u.mcf) | ||
- [cpi_w.mcf](cpi_w.mcf) | ||
- [pop_type_enums.mcf](pop_type_enums.mcf) | ||
- Contains populationType enums for all three types of series. | ||
- [unit_enums.mcf](unit_enums.mcf) | ||
- Contains unit enums for all three types of series. | ||
|
||
#### Scripts | ||
|
||
- [generate_csv_mcf.py](generate_csv_mcf.py) generates the CSVs, | ||
StatisticalVariable MCFs, and template MCFs. See module docstring. | ||
|
||
## Proposed manifest.json for adding product breakdown | ||
|
||
See About the Import > Status above for context. | ||
|
||
``` | ||
{ | ||
"import_specifications": [ | ||
{ | ||
"import_name": "USBLS_CPI_U", | ||
"curator_emails": [ | ||
"[email protected]" | ||
], | ||
"provenance_url": "https://www.bls.gov/cpi/", | ||
"provenance_description": "U.S. Bureau of Labor Statistics Consumer Price Index for All Urban Consumers", | ||
"scripts": [ | ||
"generate_csv_mcf.py" | ||
], | ||
"import_inputs": [ | ||
{ | ||
"template_mcf": "cpi_u.tmcf", | ||
"cleaned_csv": "cpi_u.csv", | ||
"node_mcf": "cpi_u.mcf" | ||
} | ||
], | ||
"cron_schedule": "0 17 15 * *" | ||
}, | ||
{ | ||
"import_name": "USBLS_CPI_W", | ||
"curator_emails": [ | ||
"[email protected]" | ||
], | ||
"provenance_url": "https://www.bls.gov/cpi/", | ||
"provenance_description": "U.S. Bureau of Labor Statistics Consumer Price Index for Urban Wage Earners and Clerical Workers", | ||
"scripts": [ | ||
"generate_csv_mcf.py" | ||
], | ||
"import_inputs": [ | ||
{ | ||
"template_mcf": "cpi_w.tmcf", | ||
"cleaned_csv": "cpi_w.csv", | ||
"node_mcf": "cpi_w.mcf" | ||
} | ||
], | ||
"cron_schedule": "15 17 15 * *" | ||
}, | ||
{ | ||
"import_name": "USBLS_C_CPI_U", | ||
"curator_emails": [ | ||
"[email protected]" | ||
], | ||
"provenance_url": "https://www.bls.gov/cpi/", | ||
"provenance_description": "U.S. Bureau of Labor Statistics Chained Consumer Price Index for All Urban Consumers", | ||
"scripts": [ | ||
"generate_csv_mcf.py" | ||
], | ||
"import_inputs": [ | ||
{ | ||
"template_mcf": "c_cpi_u.tmcf", | ||
"cleaned_csv": "c_cpi_u.csv", | ||
"node_mcf": "c_cpi_u.mcf" | ||
} | ||
], | ||
"cron_schedule": "30 17 15 * *" | ||
} | ||
] | ||
} | ||
``` | ||
|
||
### Steps to download and process | ||
|
||
python3 generate_csv.py --mode=download | ||
python3 generate_csv.py --mode=process | ||
|
||
### Note: Data is available from 1947 in source , so the historical data is retained in GCP bucket (unresolved_mcf/bls/cpi/HistoricalData) from 1913 to 1946. | ||
### Auto-refresh is done only for 1947 and more year data. |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
Node: E:c_cpi_u->E1 | ||
Node: E:c_cpi_u_1999_2024->E1 | ||
typeOf: dcs:StatVarObservation | ||
variableMeasured: C:c_cpi_u->statvar | ||
variableMeasured: dcs:dc/x6l3mg60hpe7c | ||
measurementMethod: dcs:BLSChained | ||
measurementQualifier: dcs:BLSSeasonallyUnadjusted | ||
observationAbout: dcid:country/USA | ||
observationDate: C:c_cpi_u->date | ||
observationPeriod: C:c_cpi_u->duration | ||
value: C:c_cpi_u->value | ||
unit: C:c_cpi_u->unit | ||
observationDate: C:c_cpi_u_1999_2024->date | ||
value: C:c_cpi_u_1999_2024->cpi | ||
unit: dcs:IndexPointBasePeriodDecember1999Equals100 |
Oops, something went wrong.