getWindowCounts: Compile Window Counts

View source: R/getWindowCounts.R

getWindowCountsR Documentation

Compile Window Counts

Description

Query and compile window count results using the queryWindowCnts function.

Usage

getWindowCounts(
  dam = c("LWG", "WFF", "BON", "TDA", "JDA", "MCN", "IHR", "LMN", "LGS", "PRO", "ROZ",
    "PRD", "WAN", "RIS", "TUM", "RRH", "WEL", "ZOS"),
  spp = c("Chinook", "Coho", "Sockeye", "Steelhead", "Wild_Steelhead", "Shad",
    "Jack_Chinook", "Jack_Coho", "Jack_Sockeye", "Jack_Steelhead", "Lamprey",
    "Bull_Trout"),
  start_date = NULL,
  end_date = NULL,
  incl_jacks = F,
  sthd_type = c("all", "unclipped")
)

Arguments

dam

the dam code for the dam you wish to query for window counts. Possible codes are: WFF (Willamette Falls), BON (Bonneville), TDA (The Dalles), JDA (John Day), MCN (McNary), IHR (Ice Harbor), LMN (Lower Monumental), LGS (Little Goose), LWG (Lower Granite), PRO (Prosser), ROZ (Roza), PRD (Priest Rapids), WAN (Wanapum), RIS (Rock Island), TUM (Tumwater), RRH (Rocky Reach), WEL (Wells), ZOS (Zosel)

start_date

character vector of date (YYYYMMDD) when query should start

end_date

character vector of date (YYYYMMDD) when query should end

incl_jacks

should jacks be included in the window count totals? T / F

sthd_type

should window counts of steelhead be for all steelhead, or only unclipped (i.e. wild) fish? Default is all.

Author(s)

Kevin See

Examples

getWindowCounts(start_date = '20150301', end_date = '20150817')

KevinSee/STADEM documentation built on March 7, 2024, 12:50 p.m.