load_tag: load a single sat tag

View source: R/load_tag.R

load_tagR Documentation

load a single sat tag

Description

given a tag directory from a portal download instantiate, populate, and return a sattag S4 object.

Usage

load_tag(tag_dir, streams = NA, stream_delim = "-")

Arguments

tag_dir

a path to a tag directory containg csv data streams downloaded from the portal.

streams

a character vector limiting which streams to search for. NA default to all streams. note that *-Summary.csv is expected to populate some of the slots.

stream_delim

character defaults to "-". this is what the wildlife computers portal puts between the tag identifier (sometimes DeployID, sometimes Ptt) and the stream identifier (e.g., Argos, RTC, etc.) in the csv files.

Value

a sattag S4 object.

See Also

Other tag stream loaders: batch_load_tags()

Examples

## Not run: 
tag1 <- load_tag("~/path/to/tags/tag1")

## End(Not run)

williamcioffi/sattagutils documentation built on June 3, 2022, 10:21 a.m.