View source: R/get_fisheries_offices.R
get_fisheries_offices | R Documentation |
This function accesses the api endpoint for fisheries office choices and returns their labels, descriptions and whether they're in use. It fetches the entire table of accepted fisheries offices - no other filter parameters are currently available for this endpoint. Fisheries office codes represent the first three digits of project code (PRJ_CD).
get_fisheries_offices(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/fisheries_offices/ for the full list of fisheries_office options
dataframe
Rachel Henderson rachel.henderson@ontario.ca
fisheries_offices <- get_fisheries_offices()
fisheries_office_slugs <- get_fisheries_offices(show_id = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.