Skip to contents

Estimation

Main functions for estimating swept area biomass and stratified mean

calc_swept_area()
Calculate swept area biomass
calc_stratified_mean()
Calculate stratified mean
get_area()
Generate a table of stratum areas

Get Data

Functions that pull data from the SVDBS database

get_survdat_data()
Extracts Survey data from Database
get_mass_inshore_survey_data()
Extracts Massachusetts inshore bottom trawl survey data
get_survdat_clam_data()
Extracts Clam data from Survey Database
get_survdat_scallop_data()
Extracts Scallop Survey data from Database
get_length_weight_data()
Extract Length and weight data from SVDBS

Internal Functions

Functions that are used internally but can be used externally

strat_prep()
Prepare survey data for calculating stratified mean
post_strat()
Assigns points to polygon
strat_mean()
Calculate stratified mean biomass and abundance
swept_area()
Calculate the estimate of total biomass and abundance

Helper Functions

Functions that pull supporting information from the SVDBS database

get_cruise_purpose()
Extract CRUISE PURPOSE information from SVDBS
get_maturity()
Extract MATURITY information from SVDBS
get_species()
Extract SPECIES information from SVDBS
get_species_stock_area()
Extract Survey strata that comprise species stock definition
get_strata()
Extract STRATA information from SVDBS
get_sex()
Extract SEX information from SVDBS
get_sex_fscs()
Extract SEX information from SVDBS
get_vessel()
Extract VESSEL information from SVDBS
get_conversion_factors()
Extract CONVERSION FACTORS from SVDBS
get_length_weight()
Extract species specific LENGTH-WEIGHT COEFFICIENTS from SVDBS

Sample Data

Random sample of data from different types of data pulls

sampleBio
Sample data pull with species specific biological data
sampleLengthWeight
Sample data pull with species lengths and predicted weights
sampleLengths
Sample data pull with species lengths
sampleRaw
Sample raw data pull
sampleRawWithConversion
Sample raw data pull with conversion factors applied

Plotting

Basic plotting functions to visualize data

plot_data_area()
Plots survey data and shapefile
plot_shapefile()
Plots shapefile

Package Info

survdat survdat-package
survdat: Pull and process Survey data