Run/Debug R-code Example Data Quality Dashboard Example
This document provides a complete example of how to
  • Download, install, and run Broadsea (including the Eunomia test CDM)
  • Fork, create a branch, clone, and check out the Data Quality Dashboard from GitHub
  • Install your local copy of the Data Quality Dashboard as the DataQualityDashboard R-Library
  • Use the SosRunDataQualityDashboard project to configure, run, and debug Data Quality Dashboard
Install GitHub Token in R Many of the OHDSI R projects will require multiple installs from GitHub. GitHub allows for installs as is but only up to a certian limit if you do not have a GitHub token installed in your R environment. If this limit is exceeded, installs will fail and you won’t have a good time. Instructions for installing the R token are available at here. The process is basically this:
  • Create the token in GitHub (the token does not require any of the permissions listed, so leave all the checkboxes unchecked) https://github.com/settings/tokens.
  • Edit the .Renviron file by running the following
    install.packages("usethis")
    library(usethis)
    edit_r_environ()
    
    Add the following line to your .Renviron file (where @MY_TOKEN is the token you just created).
  • GITHUB_PAT = '@MY_TOKEN'
    
Create a Key Ring How to Store Your Database Credentials in an Encrypted Key Ring
This document provides a complete example of how to use a key ring to store your database credentials.