Eunomia

Build Status codecov.io

Eunomia is part of HADES.

Introduction

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’.

Features

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 containing a SQLite database.

System Requirements

Requires R. Some of the packages required by Eunomia require Java.

Installation

  1. See the instructions here for configuring your R environment, including Java.

  2. In R, use the following commands to download and install Eunomia:

install.packages("drat")
drat::addRepo("OHDSI")
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

License

Eunomia is licensed under Apache License 2.0

Development

Eunomia is being developed in R Studio.

Development status

Ready for use