Eunomia is a standard dataset in the Common Data Model (CDM) for testing and demonstration purposes
- Provides a small simulated dataset in the CDM.
- Also includes a subset of the Standardized Vocabularies.
- Interfaces with the DatabaseConnector and SqlRender packages.
library(Eunomia)
connectionDetails <- getEunomiaConnectionDetails()
connection <- connect(connectionDetails)
querySql(connection, "SELECT COUNT(*) FROM person;")
# COUNT(*)
#1 2694
disconnect(connection)
Eunomia is an R package containing a SQLite database.
Requires R
- The DatabaseConnector and SqlRender packages require Java. Java can be downloaded from http://www.java.com. Once Java is installed, ensure that Java is being pathed correctly. Under environment variables in the control panel, ensure that the jvm.dll file is added correctly to the path.
- In R, use the following commands to download and install CohortMethod:
# The development version of RSQLite is required for some SQL functions:
install.packages("devtools")
devtools::install_github("r-dbi/RSQLite")
install.packages("drat")
drat::addRepo("OHDSI")
install.packages("Eunomia")
- 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.
Under development. Do not use.