omopgenerics is a package that is meant to be invisible for the user and it should be only developer focused package. This means that the typical user of the omopverse packages should never need to import directly it. This means that the functions needed to be used by the user they need to be reexported in other packages.
If a package defined an implementation for a desired method (attrition, settings, …), this function should be reexported there.
If a package has a function to create a cdm_reference
object, this package should re-export several functions.
cdm_reference
attributes:cdmSource()
cdmVersion()
cdmName()
cdm_table
attributes:tableSource()
tableName()
cdmReference()
insertTable()
dropTable()
omopColumns()
omopTables()
cohortColumns()
cohortTables()
achillesColumns()
achillesTables()
If a package has a function to create a cohort_table
object, this package should re-export the following functions:
settings()
attrition()
cohortCount()
cohortCodelist()
bind()
If a package has a function to create an
summarised_result
object, this package should re-export the
following functions:
suppress()
bind()
settings()
exportSummarisedResult()
importSummarisedResult()
groupColumns()
strataColumns()
additionalColumns()