autoValidateWQPsites: Auto-validate USEPA WQP stations

View source: R/autoValidateWQPsites.r

autoValidateWQPsitesR Documentation

Auto-validate USEPA WQP stations

Description

Performs auto-validation on previously queried WQP stations combined with the existing master site list. Auto-validates any new sites (i.e. those not currently in the master site list) and appends them into existing master site list flagged for acceptance, rejection, or review. Checks for any new site types in new data. A warning message and a list of new site types is printed if new site types are encountered. Also re-auto-validates any sites in the master site list that have previously only undergone auto-validation (to account for any changes in auto validation process) and checks existing master site list for changes in AUs, selected site types, or property boundaries.

Usage

autoValidateWQPsites(sites_object, master_site_file, correct_longitude = FALSE)

Arguments

sites_object

Sites object queried from WQP to be reviewed.

master_site_file

Full path and filename of master site list as generated by autoValidateWQPsites function and manual site review application. Also contains a sheet of waterbody types and their associated IR_FLAGs (.xlsx).

Value

Exports a new, undated master site list to the location & filename provided by the user.


ut-ir-tools/irTools documentation built on Jan. 19, 2024, 6:55 p.m.