OHDSI / omock

https://ohdsi.github.io/omock/
Apache License 2.0
2 stars 1 forks source link

Why `mockCdmFromTables` the first argument is a cdm? #99

Closed catalamarti closed 2 days ago

catalamarti commented 1 month ago

@ilovemane @edward-burn

catalamarti commented 1 month ago
# to insert
cdm <- insertTable(cdm, ...)
# to create a mock
cdm <- mockCdmFromTables(tables = list(...))
catalamarti commented 2 days ago

we decided not to change the behaviour as it adds flexibility and you can edit vocabulary tables and cdmname if you want