Package: omock 0.7.0.9000

Mike Du

omock: Creation of Mock Observational Medical Outcomes Partnership Common Data Model

Creates mock data for testing and package development for the Observational Medical Outcomes Partnership common data model. The package offers functions crafted with pipeline-friendly implementation, enabling users to effortlessly include only the necessary tables for their testing needs.

Authors:Mike Du [aut, cre], Martí Català [aut], Edward Burn [aut], Nuria Mercade-Besora [aut], Xihang Chen [aut]

omock_0.7.0.9000.tar.gz
omock_0.7.0.9000.zip(r-4.7)omock_0.7.0.9000.zip(r-4.6)omock_0.7.0.9000.zip(r-4.5)
omock_0.7.0.9000.tgz(r-4.6-any)omock_0.7.0.9000.tgz(r-4.5-any)
omock_0.7.0.9000.tar.gz(r-4.7-any)omock_0.7.0.9000.tar.gz(r-4.6-any)
omock_0.7.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
omock/json (API)

# Install 'omock' in R:
install.packages('omock', repos = c('https://ohdsi.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/ohdsi/omock/issues

Pkgdown/docs site:https://ohdsi.github.io

Datasets:

On CRAN:

Conda:

8.27 score 4 stars 322 scripts 966 downloads 41 exports 38 dependencies

Last updated from:db1d4c8334. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK248
source / vignettesOK242
linux-release-x86_64OK245
macos-release-arm64OK154
macos-oldrel-arm64OK230
windows-develOK211
windows-releaseOK206
windows-oldrelOK3019
wasm-releaseOK123

Exports:achillesColumnsachillesTablesavailableMockDatasetscdmDisconnectcdmNamecdmReferencecdmSourcecdmVersioncohortColumnscohortTablesdownloadMockDatasetdropSourceTableemptyCdmReferenceinsertTableisMockDatasetDownloadedlistSourceTablesmockCdmFromDatasetmockCdmFromTablesmockCdmReferencemockCohortmockConceptsmockConditionOccurrencemockDatasetsFoldermockDatasetsStatusmockDeathmockDrugExposuremockMeasurementmockObservationmockObservationPeriodmockPersonmockProcedureOccurrencemockVisitOccurrencemockVocabularySetmockVocabularyTablesomopColumnsomopDataFolderomopTablesreadSourceTablesubsetVocabularyTablestableNametableSource

Dependencies:arrowassertthatbitbit64blobclicliprclockcpp11crayonDBIdbplyrdplyrgenericsgluehmslifecyclemagrittromopgenericspillarpkgconfigprettyunitsprogresspurrrR6readrrlangsnakecasestringistringrtibbletidyrtidyselecttzdbutf8vctrsvroomwithr

Subsetting concepts
Introduction | Start with a mock CDM | Keep a target concept set | Exclude directly related concepts | Control which domains are always retained | Apply subsetting after building a CDM

Last update: 2026-04-14
Started: 2026-04-14

Creating mock clinical tables

Last update: 2026-03-06
Started: 2025-10-15

Creating mock cohorts

Last update: 2026-03-06
Started: 2025-10-15

Synthetic datasets
Introduction | Avialable datasets | Download a dataset | Create a cdm reference of a mock dataset

Last update: 2026-03-06
Started: 2025-10-15

Creating mock vocabulary tables

Last update: 2026-03-06
Started: 2025-10-15

Building a mock from data
Introduction | Create a mock cdm from a cohort table | Create a mock CDM from drug_exposure

Last update: 2025-10-31
Started: 2025-10-15

Readme and manuals

Help Manual

Help pageTopics
List the available datasetsavailableMockDatasets
Download an OMOP Synthetic dataset.downloadMockDataset
Check if a certain dataset is downloaded.isMockDatasetDownloaded
Create a 'local' cdm_reference from a dataset.mockCdmFromDataset
Generates a mock CDM (Common Data Model) object based on existing CDM structures and additional tables.mockCdmFromTables
Creates an empty CDM (Common Data Model) reference for a mock database.mockCdmReference
Generate Synthetic CohortmockCohort
Adds mock concept data to a concept table within a Common Data Model (CDM) object.mockConcepts
Generates a mock condition occurrence table and integrates it into an existing CDM object.mockConditionOccurrence
Available mock OMOP CDM Synthetic DatasetsmockDatasets
DeprecatedmockDatasetsFolder
Check the availability of the OMOP CDM datasets.mockDatasetsStatus
Generates a mock death table and integrates it into an existing CDM object.mockDeath
Generates a mock drug exposure table and integrates it into an existing CDM object.mockDrugExposure
Generates a mock measurement table and integrates it into an existing CDM object.mockMeasurement
Generates a mock observation table and integrates it into an existing CDM object.mockObservation
Generates a mock observation period table and integrates it into an existing CDM object.mockObservationPeriod
Generates a mock person table and integrates it into an existing CDM object.mockPerson
Generates a mock procedure occurrence table and integrates it into an existing CDM object.mockProcedureOccurrence
Function to generate visit occurrence tablemockVisitOccurrence
Creates an empty mock CDM database populated with various vocabulary tables set.mockVocabularySet
Creates a mock CDM database populated with various vocabulary tables.mockVocabularyTables
Subset vocabulary tables in a CDMsubsetVocabularyTables