diff --git a/docs/articles/development.html b/docs/articles/development.html index 0b41a2e..ba183f9 100644 --- a/docs/articles/development.html +++ b/docs/articles/development.html @@ -76,7 +76,7 @@
development.Rmd
getting-started.Rmd
bsai_atf.Rd
raw data query for BSAI arrowtooth founder
+raw data query for BSAI arrowtooth flounder
bsai_nrs.Rd
raw data query for BSAI northern rocksole
+bsai_nrs(year, off_yr = FALSE)
assessment year
if this is an off-year assessment change to TRUE
a suite of raw data .csv files and a time stamp of when the query was done
+if (FALSE) {
+bsai_atf(year = 2022, off_yr = FALSE)
+}
raw data query for BSAI arrowtooth founder
raw data query for BSAI arrowtooth flounder
bsai_fhs_catch_1964_1994
BSAI flathead sole historical catch data 1964-1994
raw data query for BSAI northern rocksole
q_psc()
query prohibited species catch (psc) estimate
Query specs
Note that this function produces results that may be confidential. -They can be hidden from git/GitHub by adding fsh_catch_data.csv to your .gitignore file
+They can be hidden from git/GitHub by adding fish_catch_data.csv to your .gitignore filesaves catch data as data/raw/fsh_catch_data.csv or outputs to the global environment, save also saves a copy of the SQL code used for the query and stores it in the data/sql folder.
+saves catch data as data/raw/fish_catch_data.csv or outputs to the global environment, save also saves a copy of the SQL code used for the query and stores it in the data/sql folder.
saves observer data as data/raw/fsh_obs_data.csv or outputs to the global environment, save also saves a copy of the SQL code used for the query and stores it in the data/sql folder.
+saves observer data as data/raw/fish_obs_data.csv or outputs to the global environment, save also saves a copy of the SQL code used for the query and stores it in the data/sql folder.
saves fishery length data as data/raw/fsh_length_data.csv or outputs to the global environment, also saves a copy of the SQL code used for the query and stores it in the data/sql folder.
+saves fishery length data as data/raw/fish_length_data.csv or outputs to the global environment, also saves a copy of the SQL code used for the query and stores it in the data/sql folder.
saves fishery specimen data as data/raw/fsh_specimen_data.csv or outputs to the global environment, also saves a copy of the SQL code used for the query and stores it in the data/sql folder.
+saves fishery specimen data as data/raw/fish_specimen_data.csv or outputs to the global environment, also saves a copy of the SQL code used for the query and stores it in the data/sql folder.
q_specs.Rd
Query specs
+q_specs(year, species, area, db, print_sql = FALSE, save = TRUE)
for specifying the correct folder
species group code e.g., "DUSK", "PCOD"
"GOA" or "BSAI"
data server to connect to (akfin)
outputs the sql query instead of calling the data - save must be false
saves a file to the data/raw folder, otherwise sends output to global enviro (default TRUE)
if (FALSE) {
+db = connect()
+q_specs(year=2024, species='PCOD', area='BSAI', db=db, save=F)
+}