Check and update locations in the field plan sheet
field_plan_check_locations.Rd
This function checks the locations in the field plan sheet against the SEATRACK database table of colonies, updates the sheet with new locations if provided, calculates the distance of each ocean area from Trondheim, and orders the ocean areas by latitude and distance from Trondheim.
Examples
if (FALSE) { # \dontrun{
seatrackR::connectSeatrack()
field_plan_sheet <- get_field_plan("path/to/fieldplan.xlsx")
new_locations <- data.frame(colony = c("Nord-Troms", "\u00C5gotnes"), lat = c(70, 60.40))
field_plan_check_locations(field_plan_sheet, new_locations)
} # }