mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-02-24 02:24:20 -08:00
* per tract collect all diaster total annual expected loss - numerator * add updated numerators * EALP columns are missing on tox check - this will ensure only EALP columns that exist are subet on * EALB columns are missing on tox check - this will ensure only EALP columns that exist are subet on * reverted to incorporate megatracts * updated unit tests * fix tests * add transform * remove print statement * input reflects input from FEMA risks for tracts * revise tests and update fixtures - clean up tests and main transform function * added more records * remove references to Blocks in keyword args in tests * linting * addressed latest PR feedback * remove imports and update arguments to be compatible for 1.1.0 * remove block reference in test * change precision to 10 digits - refactor tests to accomdate this Co-authored-by: Saran Ahluwalia <sarahluw@cisco.com> |
||
---|---|---|
.. | ||
__init__.py | ||
etl.py | ||
README.md |
FEMA National Risk Index
Description
The National Risk Index is a new, online mapping application from FEMA that identifies communities most at risk to 18 natural hazards. This application visualizes natural hazard risk metrics and includes data about expected annual losses from natural hazards, social vulnerability and community resilience.
The National Risk Index's interactive web maps are at the county and Census tract level and made available via geographic information system (GIS) services for custom analyses. For this project, we've utilized the NRI data collected at the Census tract level
Data Transformation Summary
The following transformations were applied to the NRI data during the ETL process:
- The
TRACTFIPS
column was renamed toGEOID10_TRACT
to match the name of columns that hold the Census Tract FIPS code in other data sets - The NRI score values for each Census tract were applied to each of the Census block groups inside of that Census tract so that the unit of analysis would match that of other datasets like the American Communities Survey