Audit site / station information in the master table – sanity v1.
auditSite.RdFlags rows with the FIRST applicable reason: StationVs30 NA, below
low cutoff, or above high cutoff. Coord checks live in auditDistances.
Examples
x <- data.table::data.table(StationVs30 = c(30, 760, NA))
auditSite(x)
#> StationVs30 Reason
#> <num> <char>
#> 1: 30 vs30Low
#> 2: NA vs30NA