get_tfat_projects: Get TFAT Tagging Projects

View source: R/get_tfat_projects.R

get_tfat_projectsR Documentation

Get TFAT Tagging Projects

Description

This function accesses the TFAT api endpoint for tagging projects - OMNR field projects that either recaptured or applied at least one fish tag (excluding CWTs). The TFAT project endpoint contains only basic information about a project such as project code, project name, project lead, start and and date. For more detailed information about projects, please see Project Tracker.

Usage

get_tfat_projects(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 projects such as lake or year they were run, attributes of the tagged fish such as species or size, the tag attributes such as colour, placement, tag type, or tag status (either tagged or recovered).

Value

dataframe

Author(s)

Adam Cottrill adam.cottrill@ontario.ca

Examples


# projects that applied Lake Huron between 2012 and 2018
projects <- get_tfat_projects(list(
  lake = "HU", year__gte = 2012, year__lte =
    2018, tagstat = "A"
))

# projects that recovered at least one tagged walleye or musky
projects <- get_tfat_projects(list(spc = c("334", "132"), tagstat = "C"))

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