R code and data to "Spatio-temporal patterns and risk factors of wild boar-pig farm contact across Europe"

Fuente: Zenodo
Saved in:
Bibliographic Details
Main Author: Morelle, Kevin
Format: Recurso digital
Published: Zenodo 2026
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866902101934735360
author Morelle, Kevin
author_facet Morelle, Kevin
contents <p>This archive contains R scripts and data files necessary to reproduce the main analyses presented in the manuscript 'Spatio-temporal patterns and risk factors of wild boar-pig farm contact across Europe'.</p> <h2>Contents<br>R Scripts</h2> <p>Rcode_GeneralPatterns.R<br>Performs exploratory analyses and visualizations of general contact patterns between wild boar and pig farms. Includes summaries at the individual and farm level, and identifies high-contact individuals/farms.</p> <p>Rcode_Monthly_model.R<br>Runs the Generalized Additive Mixed Model (GAMM) to model monthly contact rates between wild boar and pig farms. This includes temporal smooths by sex and the set of wild boar, environmental and farm-level covariates.</p> <p>Rcode_Hourly_model.R<br>Models the probability of contact at an hourly scale using binomial GAMMs. </p> <h2>Data Files</h2> <p>contact_data.rds<br>Monthly-level data linking individual wild boar, farms, and months. Contains metadata including individual ID, farm ID, month, and summary contact statistics.</p> <p>contact_events.rds<br>Data on individual contact events derived from 5-min GPS fixes and simulated trajectories (via ctmm). Each row represents a discrete contact event, with duration, location, and timestamp.</p> <p>monthly_data.rds<br>Input dataset used for the monthly GAMM. Includes the response variable (contact rate per individual–farm–month) and covariates such as farm area, land cover, wild boar density, distance to farm, etc.</p> <p>hourly_data.rds<br>Input dataset for the hourly GAMM. Contains hourly contact data.</p>
format Recurso digital
id zenodo_https___doi_org_10_5281_zenodo_18431781
institution Zenodo
language
publishDate 2026
publisher Zenodo
record_format zenodo
spellingShingle R code and data to "Spatio-temporal patterns and risk factors of wild boar-pig farm contact across Europe"
Morelle, Kevin
<p>This archive contains R scripts and data files necessary to reproduce the main analyses presented in the manuscript 'Spatio-temporal patterns and risk factors of wild boar-pig farm contact across Europe'.</p> <h2>Contents<br>R Scripts</h2> <p>Rcode_GeneralPatterns.R<br>Performs exploratory analyses and visualizations of general contact patterns between wild boar and pig farms. Includes summaries at the individual and farm level, and identifies high-contact individuals/farms.</p> <p>Rcode_Monthly_model.R<br>Runs the Generalized Additive Mixed Model (GAMM) to model monthly contact rates between wild boar and pig farms. This includes temporal smooths by sex and the set of wild boar, environmental and farm-level covariates.</p> <p>Rcode_Hourly_model.R<br>Models the probability of contact at an hourly scale using binomial GAMMs. </p> <h2>Data Files</h2> <p>contact_data.rds<br>Monthly-level data linking individual wild boar, farms, and months. Contains metadata including individual ID, farm ID, month, and summary contact statistics.</p> <p>contact_events.rds<br>Data on individual contact events derived from 5-min GPS fixes and simulated trajectories (via ctmm). Each row represents a discrete contact event, with duration, location, and timestamp.</p> <p>monthly_data.rds<br>Input dataset used for the monthly GAMM. Includes the response variable (contact rate per individual–farm–month) and covariates such as farm area, land cover, wild boar density, distance to farm, etc.</p> <p>hourly_data.rds<br>Input dataset for the hourly GAMM. Contains hourly contact data.</p>
title R code and data to "Spatio-temporal patterns and risk factors of wild boar-pig farm contact across Europe"
url https://doi.org/10.5281/zenodo.18431781