Supplement 1. R code to build the data set for analyses in E-SURGE.

<h2>File List</h2><div> <p><a href="RcodeSupplement_Lagrangeetal.txt">RcodeSupplement_Lagrangeetal.txt</a> (MD5: ab662f6c84c3d21ec6268f9c75e5783f)</p> <p><a href="Partmetadata_Lagrangeetal.txt">Partmetadata_Lagrangeetal.txt</a> (MD5: 8f036984d66256ca5d06ac711804453c)</p> </div><h2>Description</h2><div> <p>The RcodeSupplement_Lagrangeetal.txt file provides R code to convert the raw data in the format required to carry out the analyses in E-SURGE.</p> <p>The Partmetadata_Lagrangeetal.txt file is a tab-separated file. It contains a part of the raw data on the captured Tree swallows with the localization, date and individual information.</p> <p>Column definitions</p> <ol> <li>idclutch (concatenation of the capture year, number of the farm, number of the nest boxes and number of the nest)</li> <li>day (julian day of the capture)</li> <li>ring (ring of the bird)</li> <li>sex (genetic sex by default, otherwise morphological sex determining on the field)</li> <li>farm (farm number of the capture)</li> <li>year of the capture</li> <li>age (females: Second Year (SY) or After Second Year (ASY), males: After Hatching Year (AHY)) </li> </ol> </div>