get_stocking_events: Get stocking events from Great Lakes Fish Stocking API

View source: R/get_stocking_events.R

get_stocking_eventsR Documentation

Get stocking events from Great Lakes Fish Stocking API

Description

This is one of the main functions in the GLFishStockR package. It calls the api endpoint to retrieve stocking events the Great Lakes Fish Stocking database (www.fsis.glfc.org). This function takes an optional filter list which can be used to return stocking event based on several attributes of the stocking event such as species, lake, agency, first year, as last year.

Usage

get_stocking_events(filter_list = list())

Arguments

filter_list

list

Details

See http://fsis.glfc.org/api/public_urls/stocking-event-list for the full list of available filter keys (query parameters)

Value

dataframe

Author(s)

Adam Cottrill adam.cottrill@ontario.ca

Examples


events <- get_stocking_events(list(lake="ON", year=2012, species=c('BNT', 'RBT')))


AdamCottrill/GLFishStockR documentation built on Sept. 3, 2022, 10:26 p.m.