compressDART: Compress Detections from DART Query

View source: R/compressDART.R

compressDARTR Documentation

Compress Detections from DART Query

Description

For certain locations (currently Lower Granite Dam and Priest Rapids Dam), query DART to return all PIT tags observed there from a given species in a given spawn year, as well as any subsequent detections upstream, and then compress them.

Usage

compressDART(
  species = c("Chinook", "Coho", "Steelhead", "Sockeye"),
  loc = c("GRA", "PRA"),
  spawn_year = NULL,
  configuration = NULL,
  ...
)

Arguments

species

Chinook, Coho, Steelhead and Sockeye

loc

code for initial location. Currently includes options for Lower Granite (GRA) and Priest Rapids (PRA) dams.

spawn_year

available years includes spawn year 2010 to present

configuration

is a data frame which assigns node names to unique site, antenna, and site configuration ID combinations. One example can be built with the function 'buildConfig'. If no configuration file is provided, nodes are considered site codes by default. If nodes are assigned, the column name should be 'node'.

...

other arguements to be passed to the 'compress' function if the default values are not suitable.

Value

A tibble with particular information from a complete tag history PTAGIS query.

Author(s)

Kevin See

Examples

compressDART(species = 'Chinook',
                       loc = "GRA",
                       spawn_year = 2019)

KevinSee/PITcleanr documentation built on Feb. 27, 2024, 11:03 p.m.