get_lakes | R Documentation |
This function accesses the api endpoint for lake names and returns lake names and abbreviations. It is useful for fetching a table of all lakes accepted by GLIS, but it also accepts the filter parameter 'lake' to specify one or more lakes (by abbreviation) to fetch.
get_lakes(filter_list = list(), to_upper = TRUE)
filter_list |
list |
to_upper |
|
See https://intra.glis.mnr.gov.on.ca/common/lakes/ for the full list of lakes
dataframe
Rachel Henderson rachel.henderson@ontario.ca
lake_list <- get_lakes()
erie <- get_lakes(list(lake = "ER"))
upper_lakes <- get_lakes(list(lake = c("HU", "SU")))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.