This repository contains data, code, analyses, and plots by L. Abigail Walter for research on Red-headed Woodpecker (RHWO) parental care behavior with the Bulluck Avian Ecology Lab at Virginia Commonwealth University. The data in this repository are covered by the CC BY-NC-SA license.
You can read the paper online or download a pdf. 📄
Please refer to our manuscript for a detailed summary of data collection.
- Field definitions for raw data: raw_data/readme.md
- Field definitions for clean data: clean_data/readme.md
- R Version: v3.5.2+
- Packages: tidyverse, lubridate, reshape2, glmmTMB, AICtab, psych, cowplot
Please note that it is not strictly necessary to run the following R scripts. Clean data files are already included in /clean_data
. Their creation is nevertheless outlined below.
- Run
scripts/incubation/wrangling_incubation.R
to wrangle and tidy the raw data intoclean_data/incubation.rds
.
- Run
scripts/wrangling_parentalcare.R
to wrangle and tidy the raw data intoclean_data/behaviors.csv
.
The following scripts are used to analyze incubation, brooding, provisioning, and nest cleaning behaviors using the clean data files (generated above). Also described are files used to check effects of GPS tags on RHWO behavior, summarize nest success, and calculate nest check frequency.
- To analyze the incubation data, run
scripts/incubation/incubation_analysis.R
- To plot, run
scripts/cleaning/incubation_and_cleaning_plot.R
- Run
scripts/brooding/brooding_models.R
to follow the modeling process and see how the "top GLMM" was chosen. - Plot predictions using
scripts/brooding/brooding_plots.R
- View boxplots of brooding by sex with and without behavior classified as "poopsearch" (in cavity for any amount of time, emerge with fecal sac) with
scripts/brooding/poopsearch_justification.R
. Excluding those visits did not change male brooding mean duration. - Generate additional summary statistics pertaining to brooding durations using
scripts/brooding/brooding_duration.R
- Run
scripts/provisioning/provisioning_models.R
to follow the modeling process and see how the "top GLMM" was chosen. - Plot predictions using
scripts/provisioning/provisioning_plots.R
- Plot individual variation in provisioning using
scripts/provisioning/provisioning_individuals.R
- Run additional analyses on reasons for variation in female provisioning using
scripts/provisioning/provisioning_individuals_extra.R
- Run
scripts/cleaning/cleaning_analysis.R
for analysis. - To plot, run
scripts/cleaning/incubation_and_cleaning_plot.R
Since some woodpeckers were GPS tagged for another part of our study, we checked to see if they caused a difference in parental care rates.
- Run
scripts/gps-tags/gps_tag_parentalcare.R
to analyze effects of GPS tags on behavior. - Run
scripts/gps-tags/gps_tag_provisioning_individuals.R
to analyze effects of GPS tags on individual provisioning.
- Summaries of fledge success can be found in
scripts/summary_stats.R
- Nest check analyses are in
scripts/nest_monitoring/nest_check_frequency.R
Deprecated R scripts are moved to the /archive
directory.
We used program BORIS to process videos and generate raw csv files.