Reports, for every catalogued layer, which required template fields are missing — either absent from the readme or left as an unedited placeholder — plus any data folder found with no readme at all. Use it to find the datasets that need documenting before the catalogue can be trusted.
Arguments
- theme
Optional character; restrict the audit to one or more themes.
- detail
Logical; if
TRUE, return one row per missing field instead of one row per layer. DefaultFALSE.- verbose
Logical; if
TRUE(default), return the table classed so that printing it gives the compact view. SetFALSEfor the plaindata.frame, withmissinguntruncated and every column shown.- ...
Passed to
build_catalogue(), e.g.rootorrefresh.
Value
A data.frame, classed sciSpatial_audit unless
verbose = FALSE, so that printing it gives the same compact
view list_layers() does. With detail = FALSE, one row per
layer with id, name, theme, n_missing, complete
(proportion of required fields present), and missing (a
comma-separated list). With detail = TRUE, one row per
id/field pair. Folders holding spatial data but no readme
are reported with field = "readme".