Documentation
Common Data Model (CDM)
Convert Database to CDM (ETL)
Tool Specific Documentation
Common Data Model (CDM)
Convert Database to CDM (ETL)
Tool Specific Documentation
Many of the OHDSI tools need to be executed from within R, and it is not always that easy to configure it correctly. Below are our recommendations for various use cases.
Here are instructions for when you just want to run the OHDSI tools.
First, we completely remove openjdk if present:
sudo apt-get purge openjdk-\*
Next we install Oracle Java:
sudo apt-get install python-software-properties sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer
sudo apt-get install git-all
sudo sh -c 'echo "deb http://cran.rstudio.com/bin/linux/ubuntu trusty/" >> /etc/apt/sources.list' sudo gpg --keyserver keyserver.ubuntu.com --recv-key E084DAB9 sudo gpg -a --export E084DAB9 | sudo apt-key add - sudo apt-get update sudo apt-get install r-base sudo R CMD javareconf
If you're having trouble finding libjvm.so in R:
sudo updatedb locate libjvm.so sudo ln -s /usr/lib/jvm/java-8-oracle/jre/lib/amd64/server/libjvm.so /usr/lib/
(adapt last line to correct location for your JRE)
These libraries are required by some packages in R:
sudo apt-get install libcurl4-openssl-dev sudo apt-get install libssl-dev sudo apt-get install libxml2-dev sudo apt-get install liblzma-dev
Here are instructions for when you want to develop OHDSI tools yourself.
(Still need to write this)