| getDATRAS | R Documentation | 
This function combines the functionality of getHHdata, getHLdata, and getCAdata. It supports querying many years and quarters in one function call.
getDATRAS(record = "HH", survey, years, quarters, species = NULL)
record | 
 the data type required: "HH" haul data, "HL" length-based data, "CA" age-based data.  | 
survey | 
 the survey acronym e.g. NS-IBTS.  | 
years | 
 a vector of years of the survey, e.g. c(2010, 2012) or 2005:2010.  | 
quarters | 
 a vector of quarters of the year the survey took place, i.e. c(1, 4) or 1:4.  | 
species | 
 a vector of valid aphia code of the species to download, if NULL all species are included.  | 
A data frame.
Colin Millar and Scott Large.
getHHdata, getHLdata, and getCAdata
get haul data, length-based data, and age-based data.
icesDatras-package gives an overview of the package.
## Not run: 
hhdata <- getDATRAS(record = "HH", survey = "ROCKALL", years = 2002, quarters = 3)
hldata <- getDATRAS(record = "HL", survey = "ROCKALL", years = 2002, quarters = 3, species = 105883)
cadata <- getDATRAS(record = "CA", survey = "ROCKALL", years = 2002, quarters = 3)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.