get_haul_data | R Documentation |
Retrieves vessel, cruise, haul, event times, locations, bottom depth, gear temperature, surface temperature, performance, haul type, and haul start time from racebase and race_data.
get_haul_data(
channel,
vessel,
cruise,
out_path = NULL,
tzone = "America/Anchorage"
)
channel |
RODBC connection. |
vessel |
Vessel code as a 1L numeric vector. |
cruise |
Cruise code as a numeric vector (can include more than one). |
out_path |
Optional. Filepath for the output R data file (.rds). |
tzone |
Time zone for events and start_time in racebase/race_data tables. |
Returns a data.frame containing haul data. Also saves haul data to an rds file.
Sean Rohan and Cecilia O'Leary
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.