auditSite: Audit site / station information in a record metadata table.

View source: R/auditSite.R

auditSiteR Documentation

Audit site / station information in a record metadata table.

Description

Flags rows with the FIRST applicable reason: StationVs30 NA, below low cutoff, or above high cutoff. Coord checks live in auditDistances.

Usage

auditSite(DT, vs30Low = 50, vs30High = 3000)

Arguments

DT

record metadata data.table.

vs30Low

lower physical cutoff for StationVs30 (m/s).

vs30High

upper physical cutoff (m/s).

Value

data.table of flagged rows with column Reason.

Examples

x <- data.table::data.table(StationVs30 = c(30, 760, NA))
auditSite(x)


gmsp documentation built on July 18, 2026, 5:07 p.m.