RMM is an R package designed to handle common ohdsi results data management functions by providing a common API for data model migrations and definitions
The createResultsDataModel() is just a wrapper around DatabaseConnector::executeSql() that first checks if the schema exists using Postgres-specific code so it can throw an R-generated error. If the user were to use DatabaseConnector::executeSql() instead, the server would actually already throw an error saying the schema doesn't exist, so I don't understand what this function adds.
The most reliable part is one that doesn't exist, so I suggest removing this function.
The
createResultsDataModel()
is just a wrapper aroundDatabaseConnector::executeSql()
that first checks if the schema exists using Postgres-specific code so it can throw an R-generated error. If the user were to useDatabaseConnector::executeSql()
instead, the server would actually already throw an error saying the schema doesn't exist, so I don't understand what this function adds.The most reliable part is one that doesn't exist, so I suggest removing this function.