readGPSData: Reads in raw GPS data and sets up standard field names.

View source: R/Process_GPS.R

readGPSDataR Documentation

Reads in raw GPS data and sets up standard field names.

Description

Reads in raw GPS data and sets up standard field names.

Usage

readGPSData(
  inputFolder,
  deployments,
  tagTZ = "UTC",
  tagType = "Technosmart",
  dateFormat = "%d-%m-%Y"
)

Arguments

inputFolder

Folder containing all the raw GPS files to be processed.

deployments

Name of object with deployment data.

tagTZ

Timezone of GPS data.

tagType

Type of GPS biologger used, options are "Technosmart", "Ecotone", and "Cattrack.

dateFormat

POSIXct string indicating how dates are formatted in the GPS files.

Details

Technosmart can export GPS data with the following date formats:

The function will print lists of: GPS files that contain no data, GPS files that have no matching deployments in the deployment data, and deployments that have no matching GPS files. This is intended to help you identify errors in data entry or file naming. For technosmart units, I recommend you re-export data any time you change the file name because X-Manager includes the file name as a column in the data.

Value

A new dataframe containing all GPS data.


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