validateSites: Validate monitoring locations for the IR

View source: R/validateSites.R

validateSitesR Documentation

Validate monitoring locations for the IR

Description

Performs auto-validation on previously queried WQP stations combined with the existing master site list. 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.

Usage

validateSites(sites, trans_wb, manual_path, slco = FALSE)

Arguments

sites

Sites object queried from WQP to be reviewed.

trans_wb

Full path and filename of translation workbook containing the waterbody type table used in th screening process.

manual_path

Path to workbook containing manual site changes from previous IR's

slco

Logical. Default is FALSE. If TRUE, function will use the grepl function to automatically merge SLCOWS and UTAHDWQ sites containing the same two-letter, 4-number combination code used to denote SLCo monitoring locations.

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.