Hydra is part of HADES.
An R package and Java library for hydrating package skeletons into executable R study packages based on specifications in JSON format.
- Contains package skeletons for patient-level prediction and population-level estimation studies.
- Hydrates package skeletons to fully implemented study packages based on a single JSON specification file.
- Is used in WebAPI to allow ATLAS to generate study packages.
- Can be used as stand-alone R package (primarily for development purposes).
Hydra is an R package, with most functions implemented in Java.
Requires R and Java.
-
See the instructions here for configuring your R environment, including Java.
-
In R, use the following commands to download and install Hydra:
install.packages("remotes")
library(remotes)
install_github("ohdsi/Hydra")
You can fetch the JAR files in the inst/java folder of this repository, or use Maven:
- First add the SqlRender repository so that maven can find and download the SqlRender artifact automatically:
<repositories>
<repository>
<id>ohdsi</id>
<name>repo.ohdsi.org</name>
<url>http://repo.ohdsi.org:8085/nexus/content/repositories/releases</url>
</repository>
<repository>
<id>ohdsi.snapshots</id>
<name>repo.ohdsi.org-snapshots</name>
<url>http://repo.ohdsi.org:8085/nexus/content/repositories/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
2: Include the Hydra dependency in your pom.xml
<dependency>
<groupId>org.ohdsi.sql</groupId>
<artifactId>Hydra</artifactId>
<version>0.0.11-SNAPSHOT</version>
</dependency>
Documentation can be found on the package website.
PDF versions of the documentation are also available:
- Vignette: Writing Hydra configuration files
- Package manual: Hydra.pdf
- Developer questions/comments/feedback: OHDSI Forum
- We use the GitHub issue tracker for all bugs/issues/enhancements
Read here how you can contribute to this package.
Hydra is licensed under Apache License 2.0
Hydra is being developed in R Studio.
Beta.