| AssessedValues _andFIRMS.qmd |
Early exploration of AV trends in SFHA and flood-prone parcels using CCAO data |
Parcel universe, AV data |
Exploratory graphs and maps |
Exploratory & Descriptive Analysis |
Assessed Value |
No |
NA |
| building_footprint_clips.R |
Identifies parcels that have a building in them where the building is within the SFHA. Specifically uses premade SFHA parcels and intersects it with building outlines to see which SFHA parcels to keep. (earlier SFHA parcel files were created from the land polygon intersecting with the SFHA and was over inclusive.) |
cook_MS.shp (building outlines), SFHA shapefiles |
processed/buildings_in_sfha_w_parcelinfo.shp, processed/buildings_distinct_in_sfha.csv |
Data Preparation Scripts |
NA |
Y |
NA |
| buyouts.R |
Identifies PINs that were bought out due to high flood risk |
Illinois Buyout Database BuyoutPoints_Statewide.xlsx |
none |
Other External Data Exploration |
NA |
dropped - q3 |
NA |
| CC_Individual_ FEMA_Assistance.qmd |
Analyzes FEMA IA aid at ZIP level during recent flood events; descriptive stats on applicants and aid granted |
data/raw/indiv_assistance_CookCounty.csv, data/processed/treated_zipcodes.csv |
census block, tract, zip code, and muni level post-disaster aid data |
Exploratory & Descriptive Analysis |
NA |
dropped - q3 |
NA |
| clean_damanged City_names |
Used to assign municipality names to individual aid data from FEMA that had typos in names. Join to IA data. Takes damagedCity variable from Open FEMA individual assistance, exports city names which had tons of typos. This was put in chatGPT to match with clean names. |
Open FEMA API, City_Name_Mapping.csv |
data/raw/ia_city_names.csv which becomes data/processed/City_Mapping_Names.csv, indiv_assistance_V2_CookCounty_wNames.csv |
Data Preparation Scripts |
NA |
dropped - q3 |
NA |
| Cook_flood_policies _and_claims.qmd |
Summarizes NFIP claims and policies across geographies (ZIP, block, tract, muni) |
data/raw/nfipclaims_CookCounty.csv, data/raw/nfippolicies_CookCounty_all.csv |
Aggregated claim/policy stats. Not used except to show that there are not many claims or insurance policies in cook county. But there are a lot of post-disaster FEMA aid. |
Exploratory & Descriptive Analysis |
NA |
Background info / Intro |
NA |
| Cook_Sales_data.qmd |
Links sales data with flood risk indicators (SFHA, LOMR, Flood Factor); identifies multi-sale parcels and treatment status |
data/raw/assessor_parcel_sales.csv, parcels_sfha_2018.gpkg, parcels_sfha_2024.gpkg, parcels_lomrs.gpkg, data/raw/pins_floodfactor_2019.csv |
Counts of PINs by treatment status, sales trends |
Exploratory & Descriptive Analysis |
Sales |
No |
NA |
| CookCounty _ParcelMaps.qmd - ARCHIVED |
Early mapping of parcels marked SFHA in CCAO data; not currently used |
CCAO parcel universe |
Static SFHA parcel maps |
Exploratory & Descriptive Analysis |
NA |
No |
NA |
| data_prep.R |
Takes sales data and joins FIRM variables and SFHA indicator variables to the sales. Makes the res_sales.RDS file that goes to 2_create_dataframes which creates the dataframes for files that run models (Question1, Question2, Question3) |
raw/Assessor_Parcel_Sales_20250105.csv, processed/parcels_wFIRMS.csv, processed/sfha_indicator_pins.csv, processed/lomr_pins_2024.csv |
|sales_prepped.rds, res_sales.rds |
|Data Preparation Scripts |
|NA |
|NA |
|Y |
| descriptive_stats _singlefam.qmd |
Naïve OLS and FE models using the "easy" PINs that were always residential |
singlefamily_assessed_values.csv |
NA |
Exploratory & Descriptive Analysis |
NA |
No |
NA |
| detect_flood_variable _change_in_CCAO |
Tries to identify if CCAO removed PINs that were in LOMRs from SFHA indicator or what year they stopped updating the LOMR data if removed |
Open FEMA API |
None |
Data Preparation Scripts |
NA |
No |
No |
| Flood_Appeal_PINs.qmd - ARCHIVED |
Identifies and summarizes AV appeal activity for PINs affected by 2023 flood; compares AV changes for appeal vs. neighbor parcels |
PTAX-245 appeal forms, assessed values |
Graphs of average AV changes, summary stats |
Exploratory & Descriptive Analysis |
Assessed Value |
dropped - q3 |
NA |
| Flood_factor_pins.qmd - ARCHIVED |
Filter for PINs with Flood Factor ≥ 5; analyze post-2023 PTAX-245 flood appeals; calculates AV changes in affected land blocks. Mapped berwyn and cicero |
Parcel universe API, PTAX-245 appeal forms |
Summary tables and figures |
Exploratory & Descriptive Analysis |
Assessed Value |
No |
NA |
| make_panel_data.qmd - ARCHIVED |
Combine files created by scripts. Combine data necessary for creating variables in models. Code for combining files was rough draft for creating data_prep.R script |
res_pins_ever.csv, sfha_indicator_pins.csv, Assessor_Parcel_Sales.csv, parcels_wFIRMs.csv, floodfactor_scores.csv |
singlefamily_assessed_values.csv, treated.csv |
Data Preparation Scripts |
Assessed Value |
No |
Y |
| mcmillen_salescomparison.qmd |
reads in McMillens Sales Data |
parquet file from McMillen, Assessor_sales file from CCAO |
NA |
Exploratory & Descriptive Analysis |
Sales |
No |
NA |
| pull_addresses_pins_wo_ffscores.R |
Takes PINs that didn't have flood factor scores and pulls addresses to make searching flood factor score faster. Otherwise you have to search the PIN to get the address, and then search the address to get the Risk Score. |
missing_floodfactor_scores.xlsx, API for Cook County parcel addresses |
pins_with_some_addresses.csv |
Data Preparation Scripts |
NA |
Y - Q2 prep |
NA |
| pull_distinct_ resPINs.R |
Extract all parcels that were residential from 2006–2023 and pull assessed values |
PTAXSIM database |
data/raw/residential_pins_ever.csv, pin_muni_key.csv, muniname_taxcode_key.csv |
Data Preparation Scripts |
Assessed Value |
Y |
NA |
| pull_floodfactor _pin_list.R |
Join Flood Factor risk scores (2019 snapshot) to Cook County parcel universe |
Parcel universe with PINs, Flood Factor data |
data/raw/floodfactor_scores.csv, data/processed/floodfactor_scores.csv |
Data Preparation Scripts |
NA |
Y - Q2 |
NA |
| pull_individual_ assistance_applicants.R |
Pull FEMA Individual Assistance (IA) application data for Cook County (accepted and denied) |
FEMA IA API |
data/raw/indiv_assistance_CookCounty.csv, data/processed/treated_zipcodes.csv |
Other External Data Exploration |
NA |
dropped - q3 |
NA |
| pull_NFIP_ redactedclaims.R |
Pull NFIP policy and claims data for Cook County from FEMA API |
NFIP Policies API, NFIP Claims API |
data/raw/nfippolicies_CookCounty_all.csv, data/raw/nfipclaims_CookCounty.csv |
Other External Data Exploration |
NA |
dropped - q3 |
NA |
| pull_parcel_sfs.R |
Download and convert Cook County parcel shapefiles for 2018 and 2023 |
ptaxsim parcel centroids |
S_FIRM_PAN.csv, parcels_wFIRMS.csv |
Data Preparation Scripts |
NA |
NA |
Y |
| shapefile_sfha_changes.R |
Compares CCAO flood variables to NFHL. Makes shapefiles and also CSV versions of PINs that are in each SFHA or LOMR |
NFHL 2018 and NFHL 2024 (NFHL_17_20180129.gdb, Statewide_NFHL_17_20240628.gdb) |
sfha_indicator_pins.csv, S_FIRM_PAN.csv, parcels_sfha_2018.csv(shp), parcels_lomrs_2018.csv(shp), sfha_pins_2024.csv, lomr_pins_2024.csv, |
Data Preparation Scripts |
NA |
NA |
Y |
| waterbasins_map.R |
Makes visualization of cook county with rivers and water basins. Not actually used for dissertation. |
Water Basins shapefiles online. River shapefiles |
NA |
Other External Data Exploration |
NA |
No |
N |
| 2_create_datasets.qmd |
Creates df_prep and df_pairs for files that run the models. Reads in sales data and turns it into repeat sales data format |
res_sales.rds, pin_muni_key.csv, muni_shortnames.xlsx |
df_pairs.RDS, ff_pairs.RDS, df_prep.RDS |
Data Preparation Scripts |
Sales |
NA |
NA |
| 3_check_assumptions |
Check for parallel trends for models |
NA |
NA |
Analysis |
NA |
NA |
NA |
| Question1 |
NA |
NA |
NA |
Analysis |
NA |
NA |
NA |
| Question2 |
NA |
NA |
NA |
NA |
NA |
NA |
NA |
| Question3 |
NA |
city_name_mapping.csv, FEMA API for individual assistance |
NA |
NA |
NA |
dropped - q3 |
NA |
| data_prep_buildings.R |
NA |
NA |
NA |
NA |
NA |
NA |
NA |
| didFF_test.R |
Implied density tests of distributional parallel trends. Saves model and plot output because it takes a long time to run. |
df_prep_buildings.RDS |
outputs/didFF_model_out.rds, outputs/didFF_plot_out.rds, outputs/didFF_model_out2.rds, outputs/didFF_plot_out2.rds |
Data Preparation Scripts |
Sales |
NA |
NA |
| q1_assumption_tests.qmd |
NOT USED 11/23/2025: use `did` packageto by Callaway & Sant'Anna but didn't do treatment within the cohorts. Instead it just compared pre and post event trends of the cohorts, where it ran the models as if each cohort was treated. |
NA |
NA |
Data Preparation Scripts |
Sales |
NA |
NA |
| Question1_continued_staggered.qmd |
Compares Fixed Effects models for question 1 to fixest::sunab() estimates. Creates staggered treatment plots and staggered model estimates for Question 1. |
df_prep_buildings.RDS |
NA |
Analysis |
NA |
NA |
NA |
| comparison_2variables.R |
uses high_ff _post variable |
df_prep_bldg_v2026_03.RDS |
outputs/compared_by2variables.rds |
NA |
NA |
Y - Q2 |
NA |
| comparison_3variables.R |
splits high_ff_score & post variable |
df_prep_bldg_v2026_03.RDS |
outputs/compared_by3variables.rds |
NA |
NA |
Y - Q2 |
NA |