






Data and R Scripts for the manuscript titled "Classification of African ground pangolin behaviour based on accelerometer readouts: validation of bio-logging methods".
Code is for labelling accelerometer data and running a random forest model.
Script01. Label the accelerometer data with behavioural labels from BORIS
Script02. Create summary metrics and resample frequencies. This includes code adapted from (Clark, 2019; Clark et al., 2022). ore.exeter.ac.uk, int-res.com
Script03. Run random forest for each frequency and smoothing window.
AccelerometerData.zip containes Files grouped by individual. For each individual there is:
Accelerometer_data: Accelerometer data.
ID: BORIS behaviour output
ID_labs: Labelled accelerometer data