Configures global options that apply to all outputs in the plan. Only non-NULL arguments are updated; existing option values are preserved for omitted arguments.
Usage
ds.omop.plan.options(
plan,
translate_concepts = NULL,
block_sensitive = NULL,
factor_concepts = NULL
)Arguments
- plan
An
omop_planobject.- translate_concepts
Logical; if
TRUE, concept ID columns are automatically translated to human-readable concept names in output tables.- block_sensitive
Logical; if
TRUE, sensitive columns (e.g. exact dates, free-text notes) are excluded from outputs.- factor_concepts
Logical; if
TRUE(default), after a memory-mode execution every_concept_idcolumn is converted into a factor whose levels are harmonized across all connected servers, so pooledds.glm/ds.glmSLMA/ds.tablesee an identical level coding. Columns whose distinct values exceed the server disclosure cap are left raw. SetFALSEto keep the raw integer ids (or translated character names) unchanged.
Examples
if (FALSE) { # \dontrun{
plan <- ds.omop.plan()
plan <- ds.omop.plan.options(plan,
translate_concepts = TRUE,
block_sensitive = TRUE,
factor_concepts = TRUE
)
} # }