Broadsea is a complete solution for running OHDSI tools that runs in a Docker container. Complete instructions for installing and running Broadsea are here: Install and Run Broadsea
The SosRunDataQualityDashboard provides some simple scripts that can be used to:
Clone the SosRunDataQualityDashboard using the following:
git clone https://github.com/NACHC-CAD/SosRunDataQualityDashboardOpen ./SosRunDataQualityDashboard/SosRunDataQualityDashboard.Rproj and then open and run 01_install-dqd.r. This will install the packages and libraries required for DQD. When asked to restart R select “No”. When asked “Which would you like to update?” enter 1 (for all).
Clone the DataQualityDashboard using the following:
git clone https://github.com/OHDSI/DataQualityDashboardOpen ./DataQualityDashboard/DataQualityDashboard.Rproj in RStudio. In the upper right hand corner, select the build tab and then select the Install button. This will install your local copy of the DQD code as the package and library for R.
Go back to the SosRunDataQualityDashboard project. Edit and run the 02_init-params-for-dqd.r script. You should now be able to run DQD by running the 03_run-dqd.r script. You should be able to debug DQD by running the ./debug/03_debug-dqd.r script. When you run this script, RStudio will stop at the browse() statement. You can then use the navigation buttons towards the bottom of the screen (at the top of the Console pain) to
We can now edit the DQD code and then run the modified code.
IMPORTANT: After editing the code, you will need to rerun the install as described above and shown in the image below.
IMPORTANT: Before rerunning the debug code, you need to restart the R session to pick up the modified DQD code.