
Find column specifications by status
find_specification.RdRetrieve column names specified in data_specification for a given table, optionally filtered by their requirement status.
Usage
find_specification(what, status = c("none", "mandatory", "optional"))Arguments
- what
Character string, the name of the table or element in data_specification (e.g.,
"action","damage","uncertainty").- status
Character string specifying the requirement level filter:
"none"(default, returns all column names),"mandatory", or"optional".
Details
Inspects the specifications associated with what in
data_specification and extracts column names matching the
requested status. If status = "none" (the default), all specified column
names are returned regardless of whether they are mandatory or optional.
Author
Frédéric Grelot, frederic.grelot.1994_cran@m4x.org