Code for Youngflesh et al. 2023 PNAS
This repository contains code to assess the demographic consequences of phenological dynamics in North American birds.
Associated publications:
Youngflesh, C, GA Montgomery, JF Saracco, DAW Miller, RP Guralnick, AH Hurlbert, RB Siegel, R LaFrance, MW Tingley. Demographic consequences of phenological asynchrony for North American songbirds. PNAS 120:e2221961120.
Repository structure:
Scripts/
1-process-gr/
1a-landcover.R
- produce forest landcover mask1b-greenup.R
- calculate greenup
2-pro-PC.R
- productivity as a function of pheno indices3-juv-gr.R
- breeding phenology sensitivity to green-up4-sens-juv-PC/
4a-process-range-maps.R
- calculate migration distance4-sens-juv-pc.R
- calculate breeding sens as a function of species' traits
5-predict.R
- predict demographic impact of phenological changeModel_files/
- Stan files2-pro-pc.stan
- Stan file for model in2-pro-PC.R
3-juv-gr-stan
- Stan file for model in3-juv-gr.R
4-sens-juv-pc.stan
- Stan file for model in4-sens-juv-pc.R
Data/
(ignored)environment/
RAW/
MCD12Q1/
- MODIS-derived landcover dataMCD12Q2/
- MODIS-derived phenology data
processed/
- processed env dataclimate/
- climate model data fromclimatena.ca
MAPS_data/
- MAPS dataBOTW/
- BirdLife range mapsbird_phylo/
- data frombirdtree.org
Results/
(ignored)