cleanGPSData: Cleans up GPS data, by clipping to deployment times and...

View source: R/Process_GPS.R

cleanGPSDataR Documentation

Cleans up GPS data, by clipping to deployment times and filtering unrealistic locations.

Description

Cleans up GPS data, by clipping to deployment times and filtering unrealistic locations.

Usage

cleanGPSData(data, deployments, speedThreshold = NA, plot = T)

Arguments

data

Name of object with formatted GPS data.

deployments

Name of object with formatted deployment data.

speedThreshold

Fastest possible movement in km/hr.

plot

Should data be plotted (TRUE or FALSE).

tagTZ

Timezone of GPS data.

Details

This function clips the GPS data to the start and end times of each GPS deployment. The link between deployment times and the GPS data is made using the 'dep_id' field. Because Ecotone GPS units are remotely downloaded and data from multiple devices are stored in the same output file, this connection is missing. In this case the function creates a 'dep_id' field in each data frame by concatenating the tag

Value

A new dataframe containing cleaned GPS data.


allisonglider/seabiRds documentation built on Feb. 14, 2025, 7:37 a.m.