get_longest_ais_gap_data: To filter the data with the longest distance measure between...

Description Usage Arguments Value

View source: R/business_logic_functions.R

Description

To filter the data with the longest distance measure between two consecutive AIS readings

Usage

1
2
3
4
5
get_longest_ais_gap_data(
  current_ship_data,
  geo_measure = "geodesic",
  round_accu = 0
)

Arguments

current_ship_data

A tbl_df/tbl/data.frame with a particular ship's AIS data

geo_measure

An optional string argument to set accuracy for the geo distance calculation. Can be "haversine" "vincenty", "geodesic", or "cheap"

round_accu

An integer to specify the rounding digits accuracy

Value

A tibble with two consecutive rows of AIS data with the most distance travelled


vedhav/shipdashboard documentation built on Jan. 1, 2021, 12:37 p.m.