get_tag_attr_values: Get the list of values for tag attributes from the TFAT api

View source: R/get_tag_attr_values.R

get_tag_attr_valuesR Documentation

Get the list of values for tag attributes from the TFAT api

Description

This function accesses the tfat lookup api endpoint and extracts the available values for tag colour, placement, type, status (applied/on capture), or tag origin (i.e. - tagging agency). The tag data is returned as a data frame with the columns 'value' and 'label'.

Usage

get_tag_attr_values(
  what = c("tag_origin", "tag_colour", "tag_type", "tag_position", "tagstat")
)

Arguments

what

string

Value

dataframe

Author(s)

Adam Cottrill adam.cottrill@ontario.ca

Examples


tag_origins <- get_tag_attr_values("tag_origin")

tag_colours <- get_tag_attr_values("tag_colour")

tag_tag_types <- get_tag_attr_values("tag_type")

tag_positions <- get_tag_attr_values("tag_position")

tagstats <- get_tag_attr_values("tagstat")

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