Code Monkey home page Code Monkey logo

edf-gwu-hyperlocal-hia's Introduction

Bay area local health impact assessment of air pollution

Environmental Defense Fund (EDF) and the George Washington University (GWU) Milken Institute School of Public Health, Department of Environmental and Occupational Health.

Southerland, V. A., Anenberg, S. C., Harris, M., Apte, J., Hystad, P., van Donkelaar, A., ... & Roy, A. (2021). Assessing the Distribution of Air Pollution Health Risks within Cities: A Neighborhood-Scale Analysis Leveraging High-Resolution Data Sets in the Bay Area, California. Environmental Health Perspectives, 129(3), 037006.

Contact for this repository: Veronica Southerland, [email protected]

This repository provides the base code for the health impact calculations for the Bay area health impact assessment for fine particulate matter (PM2.5), nitrogen dioxide (NO2) and black carbon (BC).

The framework for the code is as follows:

  • Health impact calculations. Code should be run in the following order:

    • Bay_01.concentration.estimates.R - These files provide the health impact function calculation and maps, run in R/3.5.3. Within the code, results are aggregated to the census block group (CBG), city and county level, with results exported to a dataframe (csv).

    • Bay_02.concentration.df.R - These files first extract summary statistics from all output rasters created in Bay_01 files. They then bring in the output csv files created in Bay_01 and clean the data.

    • Bay_03.concentration.long.df.R - These files convert the csv files created in Bay_02, further format the data, and spread the estimates across columns, such that they are more easily input into tables.

  • Input files

    • All files to run the code in steps Bay_01-03 is available in the inputs file folder. To run the code, the user needs to download all input files and change the working directories within the code.
  • Intermediary Files (IF)

    • IF files are provided for informational use only. Contact Veronica Southerland ([email protected]) for questions on generating intermediary files.

    • Bay_IF_Create asthma ER rate: This file creates the dataframe file for asthma ER visits.

    • Bay_IF_Create population fractions based on GPW (25-99 and 65-99 years): This file creates population fraction files for the age groups used in the analysis.

    • Bay_IF_Use gdalwarp to put all input files on the same resolution and extent: In order to the run the code, all rasters need to be in the same extent, CRS and resolution. This file reprojects all input files to the same characteristics.

edf-gwu-hyperlocal-hia's People

Contributors

vtinney avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.