Skip to contents

This function creates the total recreational catch indicator For new data queries, use MRIP Query Tool (https://www.fisheries.noaa.gov/data-tools/recreational-fisheries-statistics-queries) Query 'Time Series' under 'Catch Data'. Choose years of interest, summarize by Annual, Calendar Year, Atlantic coast by state, species of interest, all modes and areas, Total Catch Download csv as output

Usage

create_total_rec_catch(
  data,
  states = c("MAINE", "CONNECTICUT", "MASSACHUSETTS", "NEW HAMPSHIRE", "NEW JERSEY",
    "NEW YORK", "RHODE ISLAND", "MARYLAND", "DELAWARE", "NORTH CAROLINA"),
  groupby_state = FALSE,
  return = TRUE
)

Arguments

data

The mrip data (R object mrip_catch), already subset to species of interest only from downloaded csv file

states

States in which to filter data, from MRIP query 'ATLANTIC COAST BY STATE'

groupby_state

Whether to group results by state

Value

Saves the R data object total_rec_catch