import.telonics: Import and format Telonics Iridium GPS collar data

Description Usage Arguments Value Examples

View source: R/import.telonics.R

Description

import.telonics() imports and reformats raw Telonics GPS collar data from csv file into a tidy format for visualization and analysis.

Usage

1
2
3
4
5
6
7
8
import.telonics(
  iridium_csv.dir,
  collprogsfile,
  save.file,
  save.name,
  returnx,
  pattern
)

Arguments

iridium_csv.dir

The file directory path to a folder containing Iridium csv file to reformat.

collprogsfile

The file directory path and file name of an Rdat file containing information on the file schedules of individual GPS collars.

save.file

If TRUE, saves an output file.

save.name

The file directory path of the output file (if save.file=TRUE).

returnx

If TRUE, returns a dataframe of the output into the workspace.

pattern

The pattern of the input csv file.

Value

If returnx = TRUE, returns a dataframe of GPS collar data in tidy format (flat file). If save.file = TRUE, saves the outout.

Examples

1
2
3
4
5
## Not run: 
import.telonics(iridium_csv.dir="./data/collardata",
collprogsfile = "./data/tcp.rda", save.file=TRUE,
save.name="../data/dat.Rdata", returnx=FALSE, pattern="Complete")
## End(Not run)

USFWS/refugetools documentation built on July 10, 2020, 7:26 a.m.