-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
USCensusPEP_MonthlyPopulation-code changes for Autorefresh (#1122)
* USCensusPEP_MonthlyPopulation-code changes for Autorefresh * SCHEDULES=scripts/us_census/pep/monthly_population_estimate:USCensusPEP_MonthlyPopulation * added download script * run format check * resolve pr comment v1 * added raw data * changes done * changes done..
- Loading branch information
1 parent
4bdde25
commit 9a0994d
Showing
14 changed files
with
440 additions
and
658 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
243 changes: 0 additions & 243 deletions
243
scripts/us_census/pep/monthly_population_estimate/download.py
This file was deleted.
Oops, something went wrong.
51 changes: 0 additions & 51 deletions
51
scripts/us_census/pep/monthly_population_estimate/download_test.py
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
scripts/us_census/pep/monthly_population_estimate/file_urls.json
This file was deleted.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
scripts/us_census/pep/monthly_population_estimate/input_url.json
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[ | ||
{ | ||
"download_path": "https://www2.census.gov/programs-surveys/popest/tables/1990-2000/national/totals/nat-total.txt" | ||
}, | ||
{ | ||
"download_path": "https://www2.census.gov/programs-surveys/popest/tables/2000-2009/state/totals/na-est2009-01.csv" | ||
}, | ||
{ | ||
"download_path": "https://www2.census.gov/programs-surveys/popest/tables/2010-2019/national/totals/na-est2019-01.xlsx" | ||
} | ||
|
||
] |
22 changes: 22 additions & 0 deletions
22
scripts/us_census/pep/monthly_population_estimate/manifest.json
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"import_specifications": [ | ||
{ | ||
"import_name": "USCensusPEP_MonthlyPopulation", | ||
"curator_emails": [ | ||
"[email protected]" | ||
], | ||
"provenance_url": "https://www2.census.gov/programs-surveys/popest/tables/", | ||
"provenance_description": "The Census Bureau's Population Estimates Program (PEP) produces estimates of the population for the United States.", | ||
"scripts": [ | ||
"preprocess.py" | ||
], | ||
"import_inputs": [ | ||
{ | ||
"template_mcf": "output/USA_Population_Count.tmcf", | ||
"cleaned_csv": "output/USA_Population_Count.csv" | ||
} | ||
], | ||
"cron_schedule": "0 07 * * 1" | ||
} | ||
] | ||
} |
Oops, something went wrong.