mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-08-21 06:41:39 -07:00
Ingest census data directly, add unemployment to the score (#214)
* Ingest two data sources and add to score Co-authored-by: Jorge Escobar <jorge.e.escobar@omb.eop.gov>
This commit is contained in:
parent
f12ab4d3b7
commit
589ec483e3
7 changed files with 395 additions and 26 deletions
|
@ -69,6 +69,7 @@
|
|||
"outputs": [],
|
||||
"source": [
|
||||
"# write nationwide csv\n",
|
||||
"csv_path.mkdir(parents=True, exist_ok=True)\n",
|
||||
"df.to_csv(csv_path / f\"usa.csv\", index=False)"
|
||||
]
|
||||
},
|
||||
|
@ -94,6 +95,14 @@
|
|||
" # we need to name the file data01.csv for ogr2ogr csv merge to work\n",
|
||||
" df1.to_csv(csv_path / f\"data{fips}.csv\", index=False)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "81b977f8",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": []
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
|
@ -112,7 +121,7 @@
|
|||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.7.1"
|
||||
"version": "3.9.0"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue