Introduction
Eunomia is a standard dataset manager for sample OMOP (Observational Medical Outcomes Partnership) Common Data Model (CDM) datasets. Eunomia facilitates access to sample datasets from the EunomiaDatasets repository. Eunomia is used for testing and demonstration purposes, including many of the exercises in the Book of OHDSI. For functions that require schema name, use ‘main’.
Features
- Download selected sample datasets from EunomiaDatasets repository, which 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 (currently using SQLite).
- (planned) supports for other databases
Example
library(Eunomia)
connectionDetails <- getEunomiaConnectionDetails()
connection <- connect(connectionDetails)
querySql(connection, "SELECT COUNT(*) FROM person;")
# COUNT(*)
#1 2694
getTableNames(connection,databaseSchema = 'main')
disconnect(connection)
Technology
Eunomia is an R package providing access to sample datasets at EunomiaDatasets repository.
Installation
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")
User Documentation
Documentation can be found on the package website.
PDF versions of the documentation are also available: * Package manual: Eunomia.pdf
Support
- Developer questions/comments/feedback: OHDSI Forum
- We use the GitHub issue tracker for all bugs/issues/enhancements