
Package index
Accessing public data
These functions interact with publicly available data. The current sources include USGS and Washington DOE for streamflow data and Washington’s open data portal (data.wa.gov) for creel data.
-
fetch_dwg() - Download creel datasets from data.wa.gov
-
fetch_fishery_names() - List all available 'fishery name' values
-
search_fishery_name() - Find fishery names from a partial names
-
query_creel_website() - Query the creel website for specific combinations of data
-
get_fishery_data() - Obtain and format interview, catch, and effort data for sets of fishery-years
Accessing internal data
These functions interact directly with the WDFW PostgreSQL creel database, which requires proper credentials and permissions.
-
establish_db_con() - Establish database connection
-
fetch_db_table() - Query database tables
-
get_bss_settings() - Summarize priors, sampler settings, and metadata from a stanfit object
-
get_bss_runtime() - Summarize BSS model runtime
-
get_hmc_diagnostics() - Summarize HMC Diagnostics from a Stan Fit
Uploading model estimates
Also know as the extract, transform, and load (ETL) process. This group of functions works with CreelEstimates to standardize and transform model output formatting, save analysis metadata, and write catch and effort model estimates to the creel database.
-
process_estimates_bss() - Title
-
process_estimates_pe() - Title
-
map_data_grade() - Map datagrade ??
-
transform_estimates() - Transform individual model outputs into a single object
-
prep_export() - Prep export
-
json_conversion() - Convert model estimate metadata objects to json format
-
export_estimates() - Export creel model estimates
-
write_lut() - Write look-up table
-
write_stratum() - Write stratum
-
write_total() - Write Total
-
confirm_db_upload() - Confirm database upload
-
render_progress_report() - Produce a creel progress report and summaries