View source: R/get_tfat_projects.R
get_tfat_projects | R Documentation |
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.
get_tfat_projects(filter_list = list())
filter_list |
list |
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).
dataframe
Adam Cottrill adam.cottrill@ontario.ca
# 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"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.