import_tel_gps: Import Telonics GPS collar data (generalized version of...

View source: R/import_tools.R

import_tel_gpsR Documentation

Import Telonics GPS collar data (generalized version of 'import_TelCSVfiles')

Description

Import Telonics GPS collar data (generalized version of 'import_TelCSVfiles')

Usage

import_tel_gps(path, collar_type = NULL, pattern = NULL, ...)

Arguments

path

Character vector containing path(s) and file name(s) of Telonics Iridium CSV file(s), character string specifying path to folder containing Telonics Iridium CSV file(s), or character string specifying path to root folder containing folder(s) with Telonics Iridium CSV file(s) as subfolder(s).

NOTE: When specifying a root folder within which a search of subfolders is conducted, user must pass recursive = TRUE as an additional argument. Use of the pattern argument is recommended to avoid importing non-data files.

collar_type

Character string specifying the type of GPS collar for which data is to be imported. Accepted values include:

  • "Telonics Spreadspectrum"

  • "Telonics Iridium"

pattern

Character string used to identify Telonics Iridium CSV file(s) when a folder path is provided for the path argument. See help file for the list.files base R function.

...

Additional arguments to pass on.

NOTE: Common additional arguments to pass include:

  • "recursive = TRUE" when specifying a root folder to search for data files

  • "recast = TRUE" to recast selected variables

  • "colname_fun = 'function name'" to specify alternative function used to reformat column names (e.g., toupper)

  • "fix_attempt_keep = 'All'" to return all QFP fixes. Default only returns "Resolved QFP" and "Resolved QFP (Uncertain)".

nskip

Numeric value indicating the number of rows to remove from top of the CSV file

Value

Dataframe containing GPS collar data.


jlaufenb/AniTrackTools documentation built on July 7, 2023, 3:33 a.m.