validate_glis_data: Check data returned from api before inserting into template

View source: R/populate_template.R

validate_glis_dataR Documentation

Check data returned from api before inserting into template

Description

This function runs a number of checks against the glis data list returned from the api before it is inserted into the target database. If an error is found, the function is stopped and an error message is presented to the user.

Usage

validate_glis_data(glis_data)

Arguments

glis_data

named list compiled from the glis api endpoints

Value

named list

Author(s)

Arthur Bonsall arthur.bonsall@ontario.ca


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