get_grid5s | R Documentation |
This function accesses the api endpoint for 5-minute grids and returns their number and the corresponding lake. It can fetch the entire table, or it accepts a filter parameter for lake. The filter parameters 'page' and 'page_size' are also accepted. No other filter parameters are currently available for this endpoint.
get_grid5s(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/grid5s/ for the full list of 5-minute grids
dataframe
Rachel Henderson rachel.henderson@ontario.ca
grid5s <- get_grid5s(list(page_size = 5000))
erie_grid5s <- get_grid5s(list(lake = "ER"))
grid5_slugs <- get_grid5s(list(page_size = 5000), show_id = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.