get_gps_loc: Get the longitude and latitude for given vessel ID.

Description Usage Arguments Examples

View source: R/fct_data_processing.R

Description

Looks up the GPS coordinate for the given vessel ID. Finds the observation when it sailed the longest distance between two consecutive observations

Usage

1
get_gps_loc(df, vessel_id)

Arguments

df

the dataframe containing the SHIPID column.

vessel_id

SHIPID found in the dataframe.

Examples

1
2
3
4
## Not run: 
get_gps_loc(dataframe, vessel_id = "2764")

## End(Not run)

janclod/marine documentation built on Feb. 6, 2021, 6:10 p.m.