miracum / dqa-dqagui

Mirror of https://gitlab.miracum.org/miracum/dqa/dqagui

Home Page:https://www.miracum.org/imprint/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DQAgui

CRAN checks Dependencies R build status R build status R build status

This is the repository of the R package ‘DQAgui’. It provides a graphical user interface to the functionalities implemented in DQAstats.

Installation

You can install DQAgui with:

install.packages("remotes")
remotes::install_github("miracum/dqa-dqagui")

Configuration

The database connection can be configured using environment variables. These can be set using the base R command Sys.setenv().

A detailed description, which environment variables need to be set for the specific databases can be found here.

Example

This is a basic example to demonstrate how to perform the data quality assessment with DQAgui:

library(DQAgui)

# define base paths for shinyFiles::shinyDirChoose
Sys.setenv(
  "CSV_SOURCE_BASEPATH" = system.file("demo_data", package = "DQAstats")
)
Sys.setenv(
  "CSV_TARGET_BASEPATH" = system.file("demo_data", package = "DQAstats")
)

# define path to utilities-folder
utils_path <- system.file("demo_data/utilities",
                         package = "DQAstats")

# filename of the metadata repository
mdr_filename <- "mdr_example_data.csv"

# directory for storing logfiles
logfile_dir <- tempdir()

launch_app(
  port = 3838,
  utils_path = utils_path,
  mdr_filename = mdr_filename,
  logfile_dir = logfile_dir,
  parallel = FALSE
)

To open the shiny application in your web-browser, go to localhost:3838.

Demo Usage / Deployment Examples

You can test the package without needing to install anything except docker. 💡 For further details, see the Wiki.

More Infos

About

Mirror of https://gitlab.miracum.org/miracum/dqa/dqagui

https://www.miracum.org/imprint/

License:GNU General Public License v3.0


Languages

Language:R 97.4%Language:Dockerfile 1.7%Language:Shell 0.9%