View source: R/get_management_units.R
get_management_units | R Documentation |
This function accesses the api endpoint for management units (MUs) and returns MU names, types, centroids, envelopes, and associated lakes. It is useful for fetching a table of all MUs currently in GLIS, but it also accepts the filter parameters 'lake' and 'mu_type' to further filter results.
get_management_units(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 |
should the names of the dataframe be converted to upper case? |
See https://intra.glis.mnr.gov.on.ca/common/management_units/ for the full list of management units
dataframe
get_management_units()
get_management_units(list(lake = "HU"))
get_management_units(list(lake = "HU", mu_type = "basin"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.