Validate the five measurement-face registries against Appendix A
Source:R/registry_measurement_face.R
validate_measurement_faces.RdReturns findings rather than stopping (mirrors check_measurement_bounds()):
a workstream fills the registries, runs this, and resolves every row it
reports before calling itself done. Checks, one row of output each:
Usage
validate_measurement_faces(
chem_path,
method_path,
scale_path,
why_path,
face_path,
measurement_type_path = NULL
)Details
a
measurement_chem/measurement_method/measurement_scale/measurement_facerow with an emptysourcea value outside its column's Appendix A vocabulary (chem
role/via, methodplatform, scalekind, whykind, faceface_kind)a
measurement_whykey with zero, or more than one,rank == 1rowa
measurement_facekey absent frommeasurement_type.csva
measurement_facestandsinkey whosemeasurement_type.csvrow has its ownnerc_p01: a stand-in borrows the lender's chain, so a key with its own P01 takesscale(or its own face) insteada
measurement_faceshort_labelthat is set but blank, longer than 48 characters, ends in punctuation, or is shared by another key (ignoring case); anNAshort_label is alloweda
nerc_l22(method) that is not an exact-form L22 concept URI