Skip to content

UI-Research/food-systems-resilience-and-equity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Food Systems Resilience and Equity

This repository contains the code necessary to generate the county-level Food Systems Resilience and Equity dataset that powers this Rshiny application.

For more information on the raw data sources and methodology and to download the final harmonized datasets, visit Urban's data catalog.

Harmonized Datasets

  • raw_and_percentile.csv: Raw and percentile county-level data with a range of indicators on food systems resilience and equity
  • map_input_data.csv: Data for generating the national county-level maps shown in the RShiny app
  • nearest_neighbors.csv: Data on each county's 5 "nearest neighbors" for food security and access, agricultural production, and climate hazards as shown in the RShiny app
  • tribal_land_clean.csv: Data on the percentage of each county's land area that overlaps with tribal lands as shown in the RShiny app

Scripts

  • 01_clean-data.R: this reads in and cleans each of the individual datasets used in the RShiny app
  • 02_build-dataset.R: this harmonizes the individual data and performs necessary wrangling to build the data powering the RShiny app
  • 03_generate-knn.R: this runs a 5-nearest neighbors analysis for each county separately for each of three different domains: food access, food production, and climate hazards
  • 04_shiny-app-helper.R: this is a helper function for the Shiny app that does some final data manipulation
  • app.R: this is the script that builds the Shiny application

Contributors

Research team: Kassandra Martinchek, Judah Axelrod, Sonia Torres Rodríguez, Amy Rogin, Noah Johnson, Elaine Waxman

Shiny Application Development: Amy Rogin

Code Review: Will Curran-Groome

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages