get_FN123_NonFish: Get FN123_NonFish - Catch Counts of Non-Fish species from...

View source: R/get_FN123_NonFish.R

get_FN123_NonFishR Documentation

Get FN123_NonFish - Catch Counts of Non-Fish species from FN_Portal API

Description

This function accesses the api endpoint to for FN123_NonFish records from the FN_Portal. FN123_NonFish records contain information about catch counts by non-fish species for each effort in a sample. This function takes an optional filter list which can be used to return record based on several attributes of the catch including species, but also attributes of the effort, the sample or the project(s) that the catches were made in.

Usage

get_FN123_NonFish(filter_list = list(), show_id = FALSE, to_upper = TRUE)

Arguments

filter_list

list

show_id

When 'FALSE', the default, the 'id' and 'slug' fields are hidden from the data frame. To return these columns as part of the data frame, use 'show_id = TRUE'.

to_upper
  • should the names of the dataframe be converted to upper case?

Details

Use show_filters("fn123nonfish") to see the full list of available filter keys (query parameters). Refer to https://intra.glis.mnr.gov.on.ca/fn_portal/api/v1/swagger/ and filter by "fn123nonfish" for additional information.

Value

dataframe

Author(s)

Adam Cottrill adam.cottrill@ontario.ca

Examples


fn123_nonfish <- get_FN123_NonFish(list(lake = "ER", year = 2019))

fn123_nonfish <- get_FN123_NonFish(list(prj_cd = "LEA_IA19_SHA"), show_id = TRUE)

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