DOI: 10.6084/m9.figshare.25665546.v1
title: Data and R code for study "Sex-specific migration strategies and underlying physiology contribute to spring arrival protandry in a songbird"

description: Data and R code for study "Sex-specific migration strategies and underlying physiology contribute to spring arrival protandry in a songbird" prepared for publishing in Behavioral Ecology and Sociobiology Description of files with raw data and code, used in this study for statistical analysis and creation of figureslocomotory activity, fat scores, changepoint output.zipthis file contains text files with datasets: m_combined.txt, f_combined.txt - locomotor activity data for males and females, respectivelyin the datasets for males(m) an females(f) we have data in two forms: number of active intervals and the amount of hops, we used the amount of hops in the first 4 morning hours for diurnal activity (period=day) and number of active intervals for nocturnal activity (period=night)***sp_day.txtsp_night_int.txtfall_day.txtfall_night_int.txt<br>Subsetted files with raw locomotor activity data for autumn and spring migratory periods used in statistical analysis. Subsetting was done based on the median dates of termination of autumn Zugunruhe, the start and termination of spring Zugunruhe (both sexes combined) according to the change point analysis. The data for the night additionally contain the number of active intervals for each night.<br>***<br>24h spring all melted NA.txt<br>Total activity levels during 24 hours in spring<br>***<br>zs_int_c_final2.txt <br>the output of changepoint analysis done with emberiza_changepoint.Rdata with the script from Van Doren et al., 2017<br>***<br>int_c_boxplot.txt<br>the onset and end dates of the spring and autumn migratory periods for each individual<br>***<br>m_imass_fat.txt, f_imass_fat.txt - raw fat score data for males and females, respectivelysp_fat.txt, fall_fat.txt - subsetted files with raw fat score data used in statistical analysis. Subseting was done based on the median dates of termination of autumn Zugunruhe, the start and termination of spring Zugunruhe (both sexes combined) according to the change point analysis. <br><br>***fall_n_for_model.txtfall_d_for_model.txtwinter_d_for_model.txtspring_n_for_model.txtspring_d_for_model.txt<br>circadian activity data for day/night and the rescpective seasons <br>***<br>photoperiod_corr.txt<br>photoperiodic conditions<br>***<br>dates_int_c.txt<br>median dates of termination of autumn Zugunruhe, the start and termination of spring Zugunruhe (both sexes combined) according to the change point analysis. <br>--------------------------------------------------------------------------------------<br>emberiza_changepoint.Rdata<br>this file contains transformed locomotor activity data from m_combined.txt,f_combined.txt, adapted for usage with the script from Van Doren et al., 2017,please also see "changepoint results.xlsx" file for the output<br>our data was transformed to fit the input format in the original script<br>"emberiza.data_fall" and "emberiza.data_spring" should be analysed separately in the original script, where saxicola.data should be replaced with "emberiza.data_fall" or "emberiza.data_spring"and saxicola.metadata should be replaced with emberiza.metadata<br>--------------------------------------------------------------------------------------<br>changepoint results.xlsx<br>this file contains the changepoint analysis output, done with emberiza_changepoint.Rdata with the script from Van Doren et al., 2017 in more readable format--------------------------------------------------------------------------------------figures.Rthis file contains the R script for the figures created for this paper<br>--------------------------------------------------------------------------------------Embe_scho_code.Rthis file contains the R script for the statistical analysis<br><br>