get_vessels | R Documentation |
This function accesses the api endpoint for vessels and returns their names, descriptions and whether they're in use. It can fetch the entire table of active vessels, or it accepts filter parameter all=TRUE to return depreciated vessels too. No other filter parameters are currently available for this endpoint.
get_vessels(filter_list = list(), to_upper = TRUE)
filter_list |
list |
to_upper |
|
See https://intra.glis.mnr.gov.on.ca/common/vessels/ for the full list of vessels
dataframe
Rachel Henderson rachel.henderson@ontario.ca
vessel_list <- get_vessels()
all_vessels <- get_vessels(list(all = TRUE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.