19 Testing in the OMOP CDM
In this chapter we cover how to create synthetic data in the OMOP CDM format using the omock R package.
19.1 Using omock to create mock synthetic data
19.1.1 Mock data
You can create simple mock datasets using the different mock functions in omock, we will create the dataset in
- omock::mock functions
19.1.2 Mock datasets
The omock package also contains pre-build syntehtic datasets from Eunomia package. To use eunomia
- omock::mockCdmFromDataset
19.1.3 Minimum viable dataset
- omock::mockCdmFromTables
19.2 Inserting the mock
All those functions create local
19.3 Reusing mock data
19.4 Further reading
- omock paper
- omock package