getRvcData: Downloads RVC data and saves to a list

View source: R/api.R

getRvcDataR Documentation

Downloads RVC data and saves to a list

Description

Dowloads sample, stratum, and taxonomic/life-history data for provided years and regions, and saves them to a list which can be used in summary statistic procuding functions in the package

Usage

getRvcData(
  years,
  regions,
  server = "https://grunt.sefsc.noaa.gov/rvc_analysis20/"
)

Arguments

years

A numeric vector of years for which to get sample data

regions

A character vector of region codes for which to get sample data (e.g. "FLA KEYS", "DRY TORT", "SEFCRI")

server

A string containing the domain url at which to access the server

Details

To understand more about the meaning of the different variables in the returned list please see the documentation for getSampleData, getStratumData, getTaxonomicData

Value

A list containing three data frames: sample_data - containing sample information, stratum_data - containing stratum information, taxonomic_data - containing taxonomic and life history information

See Also

getStratumData getTaxonomicData getSampleData


harryganz/rvc documentation built on Feb. 14, 2023, 4:13 p.m.