Normalize Legacy Concept Set Manifest File Paths
Source:R/manifest_helpers.R
normalizeConceptSetManifestPaths.RdThe concept-set counterpart of normalizeCohortManifestPaths(). Rewrites the
file_path of every active row in conceptSetManifest.sqlite so it is stored
relative to the study repository root. Only file_path changes — hashes,
status and timestamps are untouched, so this never registers as a
definition change.
Usage
normalizeConceptSetManifestPaths(
conceptSetsFolderPath = here::here("inputs/conceptSets"),
dryRun = FALSE
)Arguments
- conceptSetsFolderPath
Character. Path to the conceptSets folder (or anywhere inside the study repository). Defaults to
here::here("inputs/conceptSets").- dryRun
Logical. When
TRUE, report what would change without writing. Defaults toFALSE.