Returns the columns in the same order as the downloaded Excel files have in https://www.streamnet.org/data/hli. Adds on a few extra columns. The colnames are saved as internal data in R/sysdata.rda and defined in inst/docs/create_sysdata.R

rcax_table_cols(hli, type = c("xport", "base"))

Arguments

hli

The HLI short name: NOSA, SAR, PNI, RperS, JuvOut, or PreSmolt

type

XPort table or base table

Value

A vector of column names

Details

  • NOSA: Natural origin spawner abundance

  • SAR: SAR

  • PNI: PNI

  • RperS: Recruits per spawner

  • JuvOut: Short for JuvenileOutmigrants.

  • PreSmolt: Short for PresmoltAbundance.

Examples

# Show the first 5 colnames
rcax_table_cols("NOSA")[1:5]
#> [1] "commonname"     "run"            "recoverydomain" "esu_dps"       
#> [5] "majorpopgroup"