dr_getdata.Rd
This a wrapper around icesDatras::getDATRAS and icesDatras::getFlexFile that ensure that proper variable type is returned.
This a wrapper around icesDatras::getDATRAS that ensure that proper variable type is returned.
dr_getdata(record = "HH", surveys, years, quarters, quiet = TRUE)
dr_getdata(record = "HH", surveys, years, quarters, quiet = TRUE)
the data type required: "HH" haul data, "HL" length-based data, "CA" age-based data.
the survey acronym e.g. NS-IBTS
a vector of years of the survey, e.g. c(2010, 2012) or 2005:2010.
a vector of quarters of the year the survey took place, i.e. c(1, 4) or 1:4.
whether to prevent messages from being shown on screen (default is TRUE).
whether to get the data from Datras website (default is TRUE).
folder name if data is to be retrieved from existing file.
A tibble
A tibble