Man pages for omopgenerics
Methods and Classes for the OMOP Common Data Model

achillesColumnsRequired columns for each of the achilles result tables
achillesTablesNames of the tables that contain the results of achilles...
additionalColumnsIdentify variables in additional_name column
addSettingsAdd settings columns to a <summarised_result> object
assertCharacterAssert that an object is a character and satisfies certain...
assertChoiceAssert that an object is one of a set of options.
assertClassAssert that an object has a certain class.
assertDateAssert Date
assertDocHelper for consistent documentation of assertion functions.
assertListAssert that an object is a list.
assertLogicalAssert that an object is a logical.
assertNumericAssert that an object is a numeric.
assertTableAssert that an object is a table.
assertTrueAssert that an expression is TRUE.
attritionGet attrition from an object.
attrition.cohort_tableGet cohort attrition from a cohort_table object.
bindBind two or more objects of the same class.
bind.cohort_tableBind two or more cohort tables
bind.summarised_resultBind two or summarised_result objects
cash-.cdm_referenceSubset a cdm reference object.
cash-set-.cdm_referenceAssign a table to a cdm reference.
castDocHelper for consistent documentation of cast arguments.
cdmAssignTableDocHelper for consistent documentation of assigning tables to a...
cdmClassesSeparate the cdm tables in classes
cdmDisconnectDisconnect from a cdm object.
cdmDocHelper for consistent documentation of 'cdm'.
cdmFromTablesCreate a cdm object from local tables
cdmIndexDocHelper for consistent documentation of CDM index functions.
cdmNameGet or set the name of a cdm_reference associated object
cdmNameDocHelper for consistent documentation of CDM names.
cdmOrTableDocHelper for consistent documentation of cdm reference or table...
cdmReferenceGet the 'cdm_reference' of a 'cdm_table'.
cdmSelectRestrict the cdm object to a subset of tables.
cdmSourceGet the cdmSource of an object.
cdmSourceTypeGet the source type of a cdm_reference object.
cdmTableDocHelper for consistent documentation of 'cdm_table' objects.
cdmTableFromSourceThis is an internal developer focused function that creates a...
cdmVersionGet the version of an object.
cdmVersionArgumentDocHelper for consistent documentation of CDM version arguments.
checkCohortRequirementsCheck whether a cohort table satisfies requirements
cliCallDocHelper for consistent documentation of call arguments.
codelistDocHelper for consistent documentation of 'codelist' objects.
codelistWithDetailsDocHelper for consistent documentation of...
cohortCodelistGet codelist from a cohort_table object.
cohortColumnsRequired columns for a generated cohort set.
cohortCountGet cohort counts from a cohort_table object.
cohortDocHelper for consistent documentation of 'cohort_table'...
cohortTablesCohort tables that a cdm reference can contain in the OMOP...
cohortValidationChecksDocHelper for consistent documentation of cohort validation...
collect.cdm_referenceRetrieve the cdm reference into a local cdm.
collect.cohort_tableTo collect a 'cohort_table' object.
combineStrataProvide all combinations of strata levels.
compareOmopTableFieldsCompare the fields of two different OMOP CDM versions
compute.cdm_tableStore results in a table.
conceptCdmDocHelper for consistent documentation of 'cdm' concept...
conceptSetExpressionDocHelper for consistent documentation of...
createIndexesCreate the missing indexes
createLogFileCreate a log file
createTableIndexCreate a table index
dropSourceTableDrop a table from a cdm object.
dropTableDrop a table from a cdm object. *[Deprecated]*
emptyAchillesTableCreate an empty achilles table
emptyCdmReferenceCreate an empty cdm_reference
emptyCodelistEmpty 'codelist' object.
emptyCodelistWithDetailsEmpty 'codelist' object.
emptyCodeSearchEmpty code search object
emptyCohortTableCreate an empty cohort_table object
emptyConceptSetExpressionEmpty 'concept_set_expression' object.
emptyDocHelper for consistent documentation of empty arguments.
emptyOmopTableCreate an empty omop table
emptySummarisedResultEmpty 'summarised_result' object.
emptyTableNameDocHelper for consistent documentation of empty table names.
estimateTypeChoicesChoices that can be present in 'estimate_type' column.
existingIndexesExisting indexes in a cdm object
expectedIndexesExpected indexes in a cdm object
exportCodelistExport a codelist object.
exportCodelistWithDetailsExport a codelist with details object.
exportCodeSearchExport a 'code_search' object into an Excel spreadsheet
exportConceptSetExpressionExport a concept set expression.
exportFileDocHelper for consistent documentation of exported files.
exportSummarisedResultExport a summarised_result object to a CSV file.
filterAdditionalFilter the additional_name-additional_level pair in a...
filterGroupFilter the group_name-group_level pair in a summarised_result
filterResultFilter a <summarised_result> automatically
filterSettingsFilter a <summarised_result> using the settings
filterStrataFilter the strata_name-strata_level pair in a...
getCohortIdGet the cohort definition id of a certain name
getCohortNameGet the cohort name of a certain cohort definition id
getPersonIdentifierGet the column name with the person identifier from a table...
groupColumnsIdentify variables in group_name column
importCodelistImport a codelist.
importCodelistWithDetailsImport a codelist with details.
importCodeSearchImport a 'code_search' object from an Excel spreadsheet
importConceptSetExpressionImport a concept set expression.
importFileDocHelper for consistent documentation of imported files.
importSummarisedResultImport a set of summarised results.
insertCdmToInsert a cdm_reference object to a different source.
insertFromSourceConvert a table that is not a cdm_table but have the same...
insertTableInsert a table into a cdm object.
isResultSuppressedTo check whether an object is already suppressed to a certain...
isTableEmptyCheck if a table is empty or not
listSourceTablesList tables that can be accessed through a cdm object.
logMessageLog a message to a logFile
newAchillesTableCreate an achilles table from a cdm_table.
newCdmReference'cdm_reference' objects constructor
newCdmSourceCreate a cdm source object.
newCdmTableCreate an cdm table.
newCodelist'codelist' object constructor
newCodelistWithDetails'codelist' object constructor
newCodeSearchCreate a new 'code_search' object
newCohortTable'cohort_table' objects constructor.
newConceptSetExpression'concept_set_expression' object constructor
newLocalSourceA new local source for the cdm
newOmopTableCreate an omop table from a cdm table.
newReadOnlySourceA new read-only source for the cdm
newSummarisedResult'summarised_result' object constructor
numberRecordsCount the number of records that a 'cdm_table' has.
numberSubjectsCount the number of subjects that a 'cdm_table' has.
omopCdmVersionDocHelper for consistent documentation of OMOP CDM versions.
omopColumnsRequired columns that the standard tables in the OMOP Common...
omopDataFolderCheck or set the OMOP_DATA_FOLDER where the OMOP related data...
omopgenerics-packageomopgenerics: Methods and Classes for the OMOP Common Data...
omopTableFieldsReturn a table of omop cdm field information
omopTablesStandard tables that a cdm reference can contain in the OMOP...
overwriteDocHelper for consistent documentation of overwrite arguments.
pivotEstimatesSet estimates as columns
print.cdm_referencePrint a CDM reference object
print.codelistPrint a codelist
print.codelist_with_detailsPrint a codelist with details
print.code_searchPrint a code search
print.concept_set_expressionPrint a concept set expression
readSourceTableRead a table from the cdm_source and add it to the cdm.
recordCohortAttritionUpdate cohort attrition.
recursiveDocHelper for consistent documentation of recursive file...
reexportsObjects exported from other packages
resultColumnsRequired columns that the result tables must have.
resultPackageVersionCheck if different package versions are used for a...
resultTypeGet the 'result_type(s)' defined in a certain package
searchStrategyGet the search strategy used to create a 'code_search'
settingsGet settings from an object.
settings.cohort_tableGet cohort settings from a cohort_table object.
settingsColumnsIdentify settings columns of a <summarised_result>
settings.summarised_resultGet settings from a summarised_result object.
sourceTypeGet the source type of an object.
splitAdditionalSplit additional_name and additional_level columns
splitAllSplit all pairs name-level into columns.
splitGroupSplit group_name and group_level columns
splitStrataSplit strata_name and strata_level columns
statusIndexesStatus of the indexes
strataColumnsIdentify variables in strata_name column
sub-sub-.cdm_referenceSubset a cdm reference object.
sub-subset-.cdm_referenceAssign a table to a cdm reference.
summarisedResultDocHelper for consistent documentation of 'summarised_result'...
summariseLogFileSummarise and extract the information of a log file into a...
summary.cdm_referenceSummarise a cdm reference
summary.cdm_sourceSummarise a 'cdm_source' object
summary.cohort_tableSummarise a generated cohort set
summary.summarised_resultSummarise a summarised_result
suppressFunction to suppress counts in result objects
suppress.summarised_resultFunction to suppress counts in result objects
tableNameGet the table name of a 'cdm_table'.
tableSourceGet the table source of a 'cdm_table'.
tidyColumnsIdentify tidy columns of a <summarised_result>
tidy.summarised_resultTurn a <summarised_result> object into a tidy tibble
tmpPrefixCreate a temporary prefix for tables that contains a unique...
toSnakeCaseConvert a character vector to snake case
transformToSummarisedResultCreate a <summarised_result> object from a data.frame, given...
uniqueIdGet a unique Identifier with a certain number of characters...
uniqueTableNameCreate a unique table name
uniteAdditionalUnite one or more columns in additional_name-additional_level...
uniteGroupUnite one or more columns in group_name-group_level format
uniteStrataUnite one or more columns in strata_name-strata_level format
unusedDotsDocHelper for consistent documentation of unused dots.
validateAchillesTableValidate if a cdm_table is a valid achilles table.
validateAgeGroupArgumentValidate the ageGroup argument. It must be a list of two...
validateCdmArgumentValidate if an object in a valid cdm_reference.
validateCdmTableValidate if a table is a valid cdm_table object.
validateCohortArgumentValidate a cohort table input.
validateCohortIdArgumentValidate cohortId argument. CohortId can either be a...
validateColumnValidate whether a variable points to a certain existing...
validateConceptSetArgumentValidate conceptSet argument. It can either be a list, a...
validateNameArgumentValidate name argument. It must be a snake_case character...
validateNameLevelValidate if two columns are valid Name-Level pair.
validateNameStyleValidate 'nameStyle' argument. If any of the element in '...'...
validateNewColumnValidate a new column of a table
validateOmopTableValidate an omop_table
validateResultArgumentValidate whether an object is a valid 'summarised_result'...
validateStrataArgumentTo validate a strata list. It makes sure that elements are...
validateWindowArgumentValidate a window argument. It must be a list of two elements...
validationDocHelper for consistent documentation of validation mode.
omopgenerics documentation built on June 17, 2026, 5:07 p.m.