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"))
The HLI short name: NOSA, SAR, PNI, RperS, JuvOut, or PreSmolt
XPort table or base table
A vector of column names
NOSA: Natural origin spawner abundance
SAR: SAR
PNI: PNI
RperS: Recruits per spawner
JuvOut: Short for JuvenileOutmigrants.
PreSmolt: Short for PresmoltAbundance.
# Show the first 5 colnames
rcax_table_cols("NOSA")[1:5]
#> [1] "commonname" "run" "recoverydomain" "esu_dps"
#> [5] "majorpopgroup"