View source: R/get_tag_colours.R
get_tag_colours | R Documentation |
This function accesses the api endpoint for tag colour choices and returns their labels, descriptions and whether they're in use. It fetches the entire table of accepted tag colours - no other filter parameters are currently available for this endpoint. Tag colour is the fifth character of TAGDOC.
get_tag_colours(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/tag_colours/ for the full list of tag colour options
dataframe
Rachel Henderson rachel.henderson@ontario.ca
tag_colours <- get_tag_colours()
tag_colour_slugs <- get_tag_colours(show_id = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.