get_tfat_reports: Get TFAT Tag Recovery Reports

View source: R/get_tfat_reports.R

get_tfat_reportsR Documentation

Get TFAT Tag Recovery Reports

Description

This function accesses the TFAT api endpoint for tag reports - tag reports are anglers, the general public, or other agencies. A tag report can have one or many associated tags (i.e. tag recoveries). Every tag recovery has only one tag report. Tag reports include the reporting date and method, and whether or not a follow-up letter was requested.

Usage

get_tfat_reports(filter_list = list())

Arguments

filter_list

list

Details

This function takes an optional filter list which can be used to return records based on several attributes of the reporting event (reporting date, reporting method, or follow-up requested), the tagged fish such as species or size, or the tag attributes such as colour, placement, or tag type.

Value

dataframe

Author(s)

Adam Cottrill adam.cottrill@ontario.ca

Examples


# tags recovered in Lake Huron between 2012 and 2018
reports <- get_tfat_reports(list(
  lake = "ON", year__gte = 2012, year__lte =
    2018
))

# yellow or orange tags recovered in Lake Superior
reports <- get_tfat_reports(list(lake = "SU", tag__colour = c("2,5")))

# tags recovered from walleye or musky
reports <- get_tfat_reports(list(spc = c("334", "132")))

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