get_pt_abstracts: get_pt_abstracts - Project Tracker Abstracts

View source: R/get_pt_abstracts.R

get_pt_abstractsR Documentation

get_pt_abstracts - Project Tracker Abstracts

Description

This function accesses the api endpoint for abstracts that have been uploaded to project tracker. This api endpoint accepts a large number of filters associated with the project or report type. Project specific filters include project code(s), years, lakes, and project lead. Use show_filters("project_abstracts") to see the full list of available filters.

Usage

get_pt_abstracts(filter_list = list(), to_upper = TRUE)

Arguments

filter_list

list

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

Value

dataframe

Author(s)

Adam Cottrill adam.cottrill@ontario.ca

Examples


abstracts <- get_pt_abstracts(list(
  lake = "ON", year__gte = 2012,
  year__lte = 2018
))

abstracts <- get_pt_abstracts(list(lake = "ER", year__gte = 2018))

filters <- list(lake = "SU", prj_cd = c("LSA_IA15_CIN", "LSA_IA17_CIN"))
abstracts <- get_pt_abstracts(filters)

abstracts <- get_pt_abstracts(list(lake = "HU", year__gte = 2018))

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