This repository contains the code for:
Ferraro, D. M., Cottrell, R. S., Blasco, G. D., Froehlich, H. E., & Halpern, B. S. (2021). Historical food consumption declines and the role of alternative foods. Environmental Research Letters, 17(1), 014020. https://doi.org/10.1088/1748-9326/ac4072
-- code
|__0_build_food_item_key.Rmd
|__1_tidy_food_balance_data.Rmd
|__2_run_event_finder.Rmd
|__3_process_event_finder_results.Rmd
|__4_make_results_figures.Rmd
|__5_identify_proximate_supply_drivers.Rmd
|__6_select_case_studies.Rmd
|__calc_event_finder_sensitivity.Rmd
|__generate_step_by_step_decline_figure.R
-- food-declines.Rproj
-- icons
|__apple_black.png
|__beer_black.png
|__cassava.png
|__cow.png
|__grouper.png
|__milk_black.png
|__olivebranch_black.png
|__rice.png
|__sugarcane_black.png
-- output
|__data
|__figs
|__fig_case_studies.jpg
|__fig_coincident_events_combos_si.png
|__fig_coincident_events_sensitivity.png
|__fig_coincident_events_si.png
|__fig_correlation_results_si.png
|__fig_correlation_results_v2.png
|__fig_correlation_sensitivity_si.png
|__fig_decline_frequency.png
|__fig_event_finder_methods.png
|__fig_event_finder_sensitivity.png
|__fig_magnitude_duration.png
|__fig_magnitude.png
|__fig_map_and_income_class.png
|__fig_recovery_sensitivity.png
-- README.md
-- src
|__decline_functions.R
|__directories.R