------------------- GENERAL INFORMATION ------------------- 1. Title: Data and R code supporting: Using Piecewise Regression for Identifying Biological Phenomena in Biotelemetry Datasets 2. Author Information: Name: David W. Wolfson Affiliation: Minnesota Cooperative Fish and Wildlife Research Unit and Department of Fisheries, Wildlife, and Conservation Biology Email: wolfs064@umn.edu ORCID: 0000-0003-1098-9206 Name: David E. Andersen Affiliation: U.S. Geological Survey, Minnesota Cooperative Fish and Wildlife Research Unit Email: dea@umn.edu ORCID: 0000-0001-9535-3404 Name: John R. Fieberg Affiliation: Department of Fisheries, Wildlife, and Conservation Biology Email: jfieberg@umn.edu ORCID: 0000-0002-3180-7021 3. Description: This repository contains R code and associated output supporting the results reported in: Wolfson, D. W., D. E. Andersen, and J. R. Fieberg. Using Piecewise Regression for Identifying Biological Phenomena in Biotelemetry Datasets. https://www.biorxiv.org/content/10.1101/2021.12.14.472652v1 -------------------------- SHARING/ACCESS INFORMATION -------------------------- 1. Licenses/restrictions placed on the data and code: Attribution-NonCommercial-ShareAlike 3.0 United States 2. Recommended citation for these materials: Wolfson, David; Fieberg, John; and Andersen, David. (2022) Data and R code supporting: Using Piecewise Regression for Identifying Biological Phenomena in Biotelemetry Datasets. Retrieved from the Data Repository for the University of Minnesota, https://doi.org/10.13020/qbha-bs48. -------------------------- FILE OVERVIEW -------------------------- Relationship between files: When there are two files with the same name but a different file format(Rmd and html), the Rmd is a file containing the R code as well as supportive text in a R markdown file, which is a version of markdown intended for use with R scripts. The html is a 'knitted' version of the Rmd file that shows R code, output, and text in three distinct manners in order to step iteratively through an analysis and see the direct result of each section of code. While the default output of the .Rmd files is html, pdf and word documents can also be produced by changing the setup parameters. Note on importing files: All of the scripts use the here package to facilitate easier use of relative file paths. This works best when you transfer entire R projects with an associated .Rproj file that can be loaded. Instead, this repo contains just the individual files. Users should make sure to check their filepaths before importing datasets. 1. black_bear.html A knitted html file showing the code and associated output from the file black_bear.Rmd. 2. black_bear.Rmd 3. moose.html A knitted html file showing the code and associated output from the file moose.Rmd. 4. moose.Rmd 5. ODBA_temp.html A knitted html file showing the code and associated output from the file ODBA_temp.Rmd. 6. ODBA_temp.Rmd 7. sandhill_crane.html A knitted html file showing the code and associated output from the file sandhill_crane.Rmd. 8. sandhill_crane.Rmd 9. swan_post_capture.html A knitted html file showing the code and associated output from the file swan_post_capture.Rmd. 10. swan_post_capture.Rmd 11. nesting_example.Rmd 12. nesting_example.html A knitted html file showing the code and associated output from the file nesting_example.Rmd. 13. datasets.zip A compressed folder that contains all the datasets used for the .Rmd files (black_bear.csv, moose.csv, odba_temp.csv, sandhill_crane.csv, post_capture_swan.csv, 0A_sensor_data.csv, all_0A_obs.csv ). 14. fitted_models.zip A compressed folder that contains fitted models created and read in by the scripts (sacr_1_intercept.rds, sacr_2_intercepts.rds, sacr_3_intercepts.rds, sacr_4_intercepts.rds, sacr_5_intercepts.rds, sacr_6_intercepts.rds, sacr_7_intercepts.rds, sacr_migration_staging.rds, all_with_loo.rds) -------------------------- METHODOLOGICAL INFORMATION -------------------------- Description of computational environment: R version 4.0.2 (2020-06-22) Platform: x86_64-w64-ming32/x64 (64-bit) Running under: Windows 10 x64 (build 19043) ----------------------------------------- DATA-SPECIFIC INFORMATION FOR: post_capture_swan.csv ----------------------------------------- Column descriptions below. a. hours_since_capture = The time in hours since the trumpeter swan was released after GPS collar deployment. b. nsd = Net-squared displacement (squared distance in meters for each location from the first point in the timeseries) ----------------------------------------- DATA-SPECIFIC INFORMATION FOR: moose.csv ----------------------------------------- Column descriptions below. a. yday = Julian date. b. nsd = Net-squared displacement (squared distance in meters for each location from the first point in the timeseries) ----------------------------------------- DATA-SPECIFIC INFORMATION FOR: black_bear.csv ----------------------------------------- Column descriptions below. a. HeartRate = Heart rate of a black bear in beats per minute. Data obtained from an implanted heart rate logger. b. DateTime = The local date and time in the format MM/DD/YYYY HH:MM. ----------------------------------------- DATA-SPECIFIC INFORMATION FOR: odba_temp.csv ----------------------------------------- Column descriptions below. a. UTC_datetime = Date and time in Coordinated Universal Time (UTC) in the format M/DD/YYYY H:MM. b. datatype = The hardware type that collected each data record, either GPS (for temperature) or Sensors (for accelerometry data) c. temperature_C = Temperature in degrees Celsius. d. acc_x = Accelerometer X-axis measurement e. acc_y = Accelerometer Y-axis measurement f. acc_z = Accelerometer Z-axis measurement ----------------------------------------- DATA-SPECIFIC INFORMATION FOR: sandhill_crane.csv ----------------------------------------- Column descriptions below. a. t_ = Date and time in the format YYYY-MM-DD HH:MM:SS b. days_numeric = Julian date. c. nsd_daily_mean = The average Net-Squared Displacement value (in meters) averaged over the entire day. d. displacement = The square-root of the daily NSD divided by 1000; therefore the daily mean displacement in kilometers. ----------------------------------------- DATA-SPECIFIC INFORMATION FOR: all_0A_obs.csv ----------------------------------------- Column descriptions below. a. ID = alpha-numeric code of collared trumpeter swan b. datetime = Date in MM/DD/YYYY format. c. time = Time in Coordinated Universal Time (UTC) in the format HH:MM:SS. d. status = current nesting status e. behavior = current behavior of collared swan f. cygnets = if cygnets are present (Y/N) g. ncygnets = number of cygnets ----------------------------------------- DATA-SPECIFIC INFORMATION FOR: 0A_sensor_data.csv ----------------------------------------- Column descriptions below. a. UTC_datetime = Date and time in Coordinated Universal Time (UTC) in the format MM/DD/YYYY HH:MM. b. UTC_date = Date in the format MM/DD/YYYY. c. UTC_time = Time in Coordinated Universal Time (UTC) in the format HH:MM:SS. d. Latitude = Latitude (WGS84) e. Longitude = Longitude (WGS84) c. temperature_C = Temperature in degrees Celsius. d. acc_x = Accelerometer X-axis measurement e. acc_y = Accelerometer Y-axis measurement f. acc_z = Accelerometer Z-axis measurement