batch_load_tags: batch load sat tags

View source: R/batch_load_tags.R

batch_load_tagsR Documentation

batch load sat tags

Description

load sat tags from a directory containing directories downloaded from the wildlife computers portal.

Usage

batch_load_tags(
  data_dir,
  tags_dir = NA,
  ignore = NA,
  streams = NA,
  stream_delim = "-"
)

Arguments

data_dir

character points to a directory of sat tags

tags_dir

character vector of tag directory names to include or NA defaults to every directory in data_dir

ignore

character vector of directories to ignore or NA defaults not to ignore any directories.

streams

character vector limiting which streams to search for. NA defaults to all streams. note *-Summary.csv and *-Labels.csv are expected to populate some of the slots of sattag-class.

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

an S4 object of class tagstack

See Also

Other tag stream loaders: load_tag()

Examples

## Not run: 
tags <- batch_load_tags("path/to/tags/")

## End(Not run)

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