DOI: 10.5281/zenodo.17473776
title: Data and analyses of "Forest disturbance impacts a tropical parasitoid community (Hymenoptera: Ichneumonidae; Pimplinae): conservation implications from phenology and habitat use in the Afrotropics"

description: This dataset contains the data and analyses of our paper (link to come) on the ecology of Pimplinae wasps collected in Uganda (Uganda 2014–2015). We checked where in the forest and when different groups of pimpline wasps flew, and how factors like the weather and amount of dead wood affected wasp catches.

The script (`Pimplinae ecology analyses.R`) or the supplement (`Supplementary material 1.pdf`) will usually be what you're after as a reader. The former contains the R code used to analyse the data and create the figures in the paper.

To run the analyses, you will also need to load the R package `turkuwasps`. That is where we have packaged all the general R code we use to analyse wasp habitat use, phenology and species richness. For best results, install the version that was used for this paper (v0.0.7): the package may change significantly in the future!

The dataset contains:



`Pimplinae ecology analyses.R` The R code used to analyse the data and create the figures.

`data` Folder with the data:



`20251001 Uganda Pimplinae.csv` The data of all the pimpline wasps. In "Kotka" format as stored in the Finnish Biodiversity Information Facility: two headers, followed by each wasp on its own row.

`20251001 Uganda Pimplinae simplified.csv` The basic data of all the pimpline wasps. In more readable format with one header and without irrelevant columns. This is included as a convenience to the reader, and isn't used by the script.

`20251001 Uganda Pimplinae samples simplified.csv` The basic data of the samples the pimpline wasps came from. This is included as a convenience to the reader, and isn't used by the script.

`202505 damaged or missing Pimplinae samples.csv` The basic data of the samples that did not collect a typical sample of Pimplinae.

`species_groups.csv` Table showing how the species were grouped into phenology groups and habitat use groups. Only species with at least 20 individuals caught are placed in a group.

`a_overview.rda` Analysis results saved by `check how to group species.R`. Saved to file to save time, since the analyses take a long time to run.

`res.rda` Analysis results saved by `Pimplinae ecology analyses.R`. Saved to file to save time, since the analyses take a long time to run.



`figures` Folder with the figures of the article. Saved here by the script.



`habitat_Ephialtini1.png` Species groups in each habitat type. Tribe Ephialtini (1 of 2).

`habitat_Ephialtini2.png` Species groups in each habitat type. Tribe Ephialtini (2 of 2).

`habitat_Pimplini.png` Species groups in each habitat type. Tribe Pimplini.

`habitat_Theroniini.png` Species groups in each habitat type. Tribe Theroniini.

`phenology.png` Phenology of the species (n>20).

`Pimplinae_species_examples.jpg` Examples of what the species look like. Not created by the script.

`supplement` Folder with the same figures as in the Supplementary Material PDF file. Larger resolution than in the PDF (and sometimes scaled differently to the PDF).



`R` Folder with R code used by the main scripts.



`figures.R` R code for drawing the figures used in the article. Placed here in a separate file so as to keep the main script readable.

`load_data.R` R code for loading and tidying up the data. Placed here in a separate file so as to keep the main script readable.



`draw supplementary figures.R` The R code which was used to draw the supplementary figures.

`Supplementary material 1.pdf` PDF file with the supplementary figures gathered together and captioned. Includes figures used to group species by phenology or habitat use, figures showing how each species was distributed in the 34 traps, and a figure to check the GLM model assumptions. Included both inside the zip file and outside it (for easier downloading).

`ReadMe.md` ReadMe file with the same information as here.