get_tag_positions: Get tag position options - A list of tag position codes used...

View source: R/get_tag_positions.R

get_tag_positionsR Documentation

Get tag position options - A list of tag position codes used in GLIS

Description

This function accesses the api endpoint for tag position choices and returns their labels, descriptions and whether they're in use. It fetches the entire table of accepted tag positions - no other filter parameters are currently available for this endpoint. Tag position is the second character of TAGDOC.

Usage

get_tag_positions(filter_list = list(), show_id = FALSE, to_upper = TRUE)

Arguments

filter_list

list

show_id

include the fields the 'id' and 'slug' in the returned data frame

to_upper
  • should the names of the dataframe be converted to upper case?

Details

See https://intra.glis.mnr.gov.on.ca/common/tag_positions/ for the full list of tag position options

Value

dataframe

Author(s)

Rachel Henderson rachel.henderson@ontario.ca

Examples


tag_positions <- get_tag_positions()
tag_position_slugs <- get_tag_positions(show_id = TRUE)

AdamCottrill/glfishr documentation built on Aug. 9, 2024, 5:47 p.m.