fetch_tfat_lookups: Fetch the values from the tfat lookup api endpoint

View source: R/fetch_tfat_lookups.R

fetch_tfat_lookupsR Documentation

Fetch the values from the tfat lookup api endpoint

Description

This is a helper function that is used to fetch the lookup values from tfat. Tfat exposes a lookup endpoint that returns a json response that contains key-value pairs for a number of elements associated with fish tagging - tag types, tag colours, tagging agency etc. This function calls that endpoint and returns the results as a named list - one list for each key-value pair. This function is not intended to be called directly, but is called by other, higher-level convenience functions (get_tag_colours()).

Usage

fetch_tfat_lookups()

Value

list

Author(s)

Adam Cottrill adam.cottrill@ontario.ca


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