View source: R/get_FN123_NonFish.R
get_FN123_NonFish | R Documentation |
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.
get_FN123_NonFish(filter_list = list(), show_id = FALSE, to_upper = TRUE)
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 |
|
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.
dataframe
Adam Cottrill adam.cottrill@ontario.ca
fn123_nonfish <- get_FN123_NonFish(list(lake = "ER", year = 2019))
fn123_nonfish <- get_FN123_NonFish(list(prj_cd = "LEA_IA19_SHA"), show_id = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.