Eunomia is part of HADES.
Eunomia is a standard dataset in the OMOP (Observational Medical Outcomes Partnership) Common Data Model (CDM) for testing and demonstration purposes. Eunomia is used for many of the exercises in the Book of OHDSI. For functions that require schema name, use 'main'.
- Provides a small simulated dataset in the CDM.
- Also includes a subset of the Standardized Vocabularies.
- Interfaces with the DatabaseConnector and SqlRender packages.
- No need to set up a database server. Eunomia runs in your R instance (using SQLite).
library(Eunomia)
connectionDetails <- getEunomiaConnectionDetails()
connection <- connect(connectionDetails)
querySql(connection, "SELECT COUNT(*) FROM person;")
# COUNT(*)
#1 2694
getTableNames(connection,databaseSchema = 'main')
disconnect(connection)
Eunomia is an R package containing a SQLite database.
Requires R. Some of the packages required by Eunomia require Java.
-
See the instructions here for configuring your R environment, including Java.
-
In R, use the following commands to download and install Eunomia:
install.packages("Eunomia")
Documentation can be found on the package website.
PDF versions of the documentation are also available:
- Package manual: Eunomia.pdf
- Developer questions/comments/feedback: OHDSI Forum
- We use the GitHub issue tracker for all bugs/issues/enhancements
Eunomia is licensed under Apache License 2.0
Eunomia is being developed in R Studio.
Ready for use