get_assessment_data: connect the api and get data from assessment portal

View source: R/populate_template.R

get_assessment_dataR Documentation

connect the api and get data from assessment portal

Description

This is one of the workhorse functions used by populate_template. This function connects to the assessment portal and fetches all of the data selected by the filters argument. Returns a named list- names of the list correspond directly to names of the tables in template database.

Usage

get_assessment_data(filters, prune_fn012, verbose)

Arguments

filters
  • list of filters passed to glis api endpoints

prune_fn012
  • boolean. Should records in the FN012 table without records in the FN123 be dropped?

verbose
  • boolean. Should progress be reported in the console?

Value

named list

Author(s)

Adam Cottrill adam.cottrill@ontario.ca


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