knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of d.inspectEHR is to provide an early phase light touch quality evaluation for the DECOVID project. Prior to running these reports, sites must apply the DECOVID ddls and should try to run ACHILLES against their OMOP database.
You can install the development version of d.inspectEHR from GitHub with:
remotes::install_github("DocEd/d.inspectEHR")
The report can be run by loading the package and running the following code.
library(d.inspectEHR) render_report(output = "DECOVID_report.html")
This will prompt a shiny interface to launch for you to enter your database connection details. You can also supply these directly:
library(d.inspectEHR) render_report( output = "DECOVID_report.html", prams = list( driver = "PostgreSQL", host = "localhost", port = 5432, dbname = "omop", schema = "public", user = "w.flemming", password = "chromatin", local_hospital = "St. Elsewhere" ) )
Grab a coffee and enjoy.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.