# Code and data for Willow Warbler phenology models

This repository contains data and code for the manuscript 

*"Differential changes in lifecycle-phase phenology provide a window into regional population declines"*    
by HJ Hanmer<sup>1</sup>, PH Boersch-Supan<sup>1,2</sup>, RA Robinson (submitted)    

<sup>1</sup> contributed equally    
<sup>2</sup> Corresponding author: pboesu@gmail.com, [ORC-ID: 0000-0001-6723-6833](https://orcid.org/0000-0001-6723-6833) 

## Data dictionary
The data files contain the following variables

- `feg`: first egg date (day of year)
- `lat`: Latitude (degrees N)
- `nst`, `latst`: Latitude (scaled and centred)
- `sptdiff`: Local temperature anomaly (degrees Celsius)
- `year`, `year_fac`: year of record
- `incubation`: factor with two levels derived from brood patch scores
    - `incubation`: bird has a developing or active brood patch
    - `post_incubation`: bird has a regressing or regressed brood patch
- `pp_mass`: proportion of primary feather mass grown [0-1]
- `sex`: sex of bird
