Launch the DQA graphical user interface (GUI)
launch_app(
port = 3838,
utils_path = system.file("demo_data/utilities", package = "DQAstats"),
mdr_filename = "mdr_example_data.csv",
logfile_dir = tempdir(),
demo_usage = FALSE
)Executing this function returns a DQAgui shiny application.
The port, the MIRACUM DQA Tool is running on (default: 3838)
The path to the utilities-folder, containing the metadata
repository files (mdr.csv inside the folder MDR), JSON files with SQL
statements (inside the folder SQL), config files for the database
connection (settings_default.yml) and the email address used for the
data map (email.yml), a JSON file containing site names (inside the
folder MISC) and a markdown template to create the PDF report
(DQA_report.Rmd inside the folder RMD).
The filename of the mdr (e.g. "mdr_example_data.csv").
Is the absolute path to the directory where the logfile will be stored. If not path is provided the tempdir() will be used.
A boolean. If TRUE, a box is shown on the dashboard with
further instructions on how to use / configure the tool.
if (interactive()) {
launch_app()
}
Run the code above in your browser using DataLab