View source: R/get_bottom_types.R
get_bottom_types | R Documentation |
This function accesses the api endpoint for lake bottom types and returns their names, descriptions and whether they're in use. It can fetch the entire table of accepted bottom type codes, or it accepts filter parameter all=TRUE to return depreciated bottom type codes too. No other filter parameters are currently available for this endpoint.
get_bottom_types(filter_list = list(), show_id = FALSE, to_upper = TRUE)
filter_list |
list |
show_id |
include the fields the 'id' and 'slug' in the returned data frame |
to_upper |
|
See https://intra.glis.mnr.gov.on.ca/common/bottom_types/ for the full list of bottom types
dataframe
Rachel Henderson rachel.henderson@ontario.ca
bottom_types <- get_bottom_types()
all_bottom_types <- get_bottom_types(list(all = TRUE))
bottom_type_slugs <- get_bottom_types(show_id = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.