This is version 2 of the pheValuator package for the eCore covid project
The main function of the package is to assess the above phenotypes by calculating their incidence over time (monthly), overlap and by running PheValuator. These analysis can be executed using the runscript found in extras/CodeToRun.R. For a preliminary assessment of the phenotypes on your database, CohortDiagnostics can be run using the runscript found in extras/CodeToRunCohortDiagnostics.R.
renv package. Running renv::restore() will build a local library containing all dependencies and versions. Make sure you have installed at least the following packages: remotes::install_github("OHDSI/PheValuator") remotes::install_github("OHDSI/CohortDiagnostics") remotes::install_github("OHDSI/OhdsiRTools") install.packages("xlsx")
Build the package using Build-->Install and restart.
Open extras/CodeToRun.R and complete. The parameters should be similar to those used in other OHDSI studies:
outputFolder: a directory which output files can be written to
cohortTable: a table that will be created in the results schema (any existing table will be overwritten)
Run covidPhenotypesTest::runPhenoTest
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.