get_jurisdictions: Get jurisdiction data from Great Lakes Fish Stocking API

View source: R/get_jurisdictions.R

get_jurisdictionsR Documentation

Get jurisdiction data from Great Lakes Fish Stocking API

Description

This function is a wrapper around api_to_dataframe and calls the api endpoint to retrieve all of the jurisdictions currently in the Great Lakes Fish Stocking database (www.fsis.glfc.org). Jurisdiction is defined as the waters of a lake within the bounds of a province or state. "The Michigan waters of Lake Huron". This function takes an optional filter list which can be used to return jurisdictions associated with a particular lake or state/province.

Usage

get_jurisdictions(filter_list = list())

Arguments

filter_list

list

Details

See http://fsis.glfc.org/api/public_urls/#v1-common-jurisdiction-list for the full list of available filter keys (query parameters)

Value

dataframe

Author(s)

Adam Cottrill adam.cottrill@ontario.ca

Examples


get_jurisdictions()
get_jurisdictions(list(lake="HU"))
get_jurisdictions(list(stateprov="MI"))


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