-------------------------------------------------------------------------------- ZIP Code Tabulation Area (ZCTA5) -------------------------------------------------------------------------------- zcta/tl_2019_us_zcta510/: This is a folder that contains the shapefile for CONUS zip code tabulation areas in 2019. Files were downloaded from the US Census Bureau TIGER/Line Shapefiles website (https://www.census.gov/cgi-bin/geo/shapefiles/index.php). R users may also use the `tigris` package. -------------------------------------------------------------------------------- zcta/smokePM2pt5_predictions_daily_zcta_20060101-20201231.rds: This is a file that contains a data frame with the final set of daily smoke PM2.5 predictions on smoke days at the ZCTA5 level from January 1, 2006 to December 31, 2020 for the contiguous US. ZCTA-level smoke PM2.5 predictions are aggregated from smoke PM2.5 predictions at the 10 km resolution using population and area of intersection-weighted averaging.The 'GEOID10' column in this file corresponds to the 'GEOID10' column in the ZCTA shapefile. All rows in this file are predictions on smoke days. Predictions on non-smoke days are by construction 0 ug/m^3 and not included in this file. A smoke PM2.5 prediction of 0 in this file means that the ZCTA-day did have a smoke day but did not have elevated PM2.5. The full set of smoke PM2.5 predictions on both smoke days and non-smoke days can be obtained by setting the smoke PM2.5 prediction to 0 on ZCTA-days in the ZCTAs and in the January 1, 2006-December 31, 2020 date range that are not in this file. For example, the R code below returns the full set of smoke PM2.5 predictions: library(lubridate) library(sf) library(dplyr) library(tidyr) # Load smokePM predictions on smoke days preds = readRDS("./final/zcta/smokePM2pt5_predictions_daily_zcta_20060101-20201231.rds") # Load ZCTAs zctas = read_sf("./final/zcta/tl_2019_us_zcta510") # Load full set of dates dates = seq.Date(ymd("20060101"), ymd("20201231"), by = "day") # Get full combination of ZCTA-days # Warning: this may require a large amount of memory out = expand.grid(GEOID10 = zctas$GEOID10, date = dates) # Match smokePM predictions on smoke days to ZCTA-days out = left_join(out, preds, by = c("GEOID10", "date")) # Predict 0 for remaining ZCTA-days, which are non-smoke days out = mutate(out, smokePM_pred = replace_na(smokePM_pred, 0)) -------------------------------------------------------------------------------- zcta/smokePM2pt5_predictions_daily_zcta_20060101-20201231.csv: This is the same as smokePM2pt5_predictions_daily_zcta_20060101-20201231.rds, except it is saved as a CSV file.