get_vessel_id: Gets the list of unique vessel IDs.

Description Usage Arguments Examples

View source: R/fct_data_processing.R

Description

Gets the list of unique vessels' ID. The vessels' ID can be filtered based on vessel type.

Usage

1
get_vessel_id(df, ship_type = NULL)

Arguments

df

the dataframe containing the SHIP_ID column.

ship_type

the ship_type contained in the ship_type column of the df.

Examples

1
2
3
4
5
## Not run: 
get_vessel_id(dataframe)
get_vessel_id(dataframe, ship_type == "Cargo")

## End(Not run)

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