knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
qualitycontrol
The goal of qualitycontrol
is to set a data quality control framework
You can install the qualitycontrol
from GitHub with:
# install.packages("devtools") devtools::install_github("luisgarcez11/qualitycontrol")
The als_data
dataset will be used to guide you through the package functionality. This data is not real, but based on data retrieved from Amyotrophic Lateral Sclerosis patients.
library(qualitycontrol)
als_data
The als_data_qc_mapping
is an R list
which contains 3 tables specifying all the tests used for quality control.
als_data_qc_mapping$missing
als_data_qc_mapping$inconsistencies
als_data_qc_mapping$range
qc_data
functionqc_data
takes as arguments the data to be quality controlled and the QC mapping containing the tests to be applied.
qc_data(als_data, als_data_qc_mapping)
This will return a table with all the findings. If you want to save it, you can specify the path to be saved in output_file
.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.