TO WRITE ALL! TO COMPLETE
The requirements depends on the your work porpuse. Depending if you want to use only the functions in the R package to create your own data quality check system or if you want to use the algorithms implemented in the R and Rmarkdown scripts. In the first case the procedures is the usual procedure to install the package directly from git to R using the package devtools. The second porpuse allow to use the scripts already prepared and configured for the standard usage in the Institute for Alpine Environment, Eurac. To to that you have to clone the repository on your local pc and run the scripts from there.
In this document we want to explain how to install the package, clone in your local pc, check available updates and the libraries required to run the scripts.
What is a package? How to install? Answer (Any question about credentials ask to Eurac ICT or to the Author)
on HPCgeo01 linux machine, the credentials token is defined in the file .git-credentials:
```r if (!require("devtools")) install.packages("devtools") library(devtools) devtools::install_git("https://gitlab.inf.unibz.it/Christian.Brida/dataqualitycheckeuracalpenv.git", credentials = git2r::cred_token()) library(DataQualityCheckEuracAlpEnv)
```
on a Windows machine, the credentials token is created by the package develper in GitLab settings ```r if (!require("devtools")) install.packages("devtools") library(devtools) devtools::install_git("https://gitlab.inf.unibz.it/Christian.Brida/dataqualitycheckeuracalpenv.git",credentials = git2r::cred_user_pass("Christian.Brida@eurac.edu", getPass::getPass())) library(DataQualityCheckEuracAlpEnv)
```
This file try to explain what the scripts do and what is needed to work. Every script has a folder structure and support files used to manage the regular data processing and to manage manual data fixing. Here we describe the detailes of this strutcture and the features of the scripts.
This section want to explain how the real time data was managed. In particular how it was checked, collected, and alert when data errors occouring. To do that we developed the script DQC_Hourly_Linux_v6.R that runs in a cronjob every hour. It is used for urgent problems. To decide when a notice is needed this script is paired with DQC_Reset_Mail_Status.R .
TO COMPLETE
For stability reason the scripts run on a Linux virtual machine called HPCgeo01 prepared by the ICT. For the historical analysis the script was structured for an usage on a Windows machine. We are developing an user friendly interface to help the user to configure paths structure and settings.
git clone https://gitlab.inf.unibz.it/Christian.Brida/dataqualitycheckeuracalpenv.git
Install the package on R (Any question about credentials ask to Eurac ICT)
on HPCgeo01 linux machine, the credentials token is defined in the file .git-credentials:
r
library(devtools)
devtools::install_git("https://gitlab.inf.unibz.it/Christian.Brida/dataqualitycheckeuracalpenv.git", credentials = git2r::cred_token())
library(DataQualityCheckEuracAlpEnv)
on a Windows machine, the credentials token is created by the package develper in GitLab settings ```r library(devtools) devtools::install_git("https://gitlab.inf.unibz.it/Christian.Brida/dataqualitycheckeuracalpenv.git",credentials = git2r::cred_user_pass("Christian.Brida@eurac.edu", getPass::getPass())) library(DataQualityCheckEuracAlpEnv)
```
Updates: It could happend that in the devoloping phase we found a bug or we develop new features. To have the last version of scripts and functions please:
r
git pull # from a git consolle in the package!
and then repeat the procedure to install the package
R: functions developed for the quality check. Every single function is a brick used to build a complex function that check structure,changes and data downloaded. The most important function is DQC_function(), inside is defined a workflow to apply to detect problems ad to manage data output. Th
Main_script: scripts used for the different goals explained before.
Rmd: rmarkdonw script used to produce html reports colletcting problems and anomalies. These reports were sended via email to the mainenance gruop to fix data bugs or to program field works.
man: automatic documentation of function generated using the package devtools
doc: documentation and explanations of scripts and procedures
other: various
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.