View source: R/get_project_types.R
get_project_types | R Documentation |
This function accesses the api endpoint for project type choices and returns their labels, descriptions and whether they're in use. It fetches the entire table of accepted project types - no other filter parameters are currently available for this endpoint. Project type codes represent the fifth and sixth digits of project code (PRJ_CD).
get_project_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/project_types/ 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.