Learn R Programming

Rmonize (version 2.0.0)

show_harmo_error: Print a summary of data processing in the console

Description

Reads a harmonized dossier, product of harmo_process(), to list processes, any errors, and an overview of each harmonization rule. The output printed in the console can help in correcting any errors that occurred during data processing.

Usage

show_harmo_error(harmonized_dossier, show_warnings = TRUE)

Value

Nothing to be returned. The function prints messages in the console, showing any errors in data processing.

Arguments

harmonized_dossier

A list containing the harmonized dataset(s).

show_warnings

Whether the function should print warnings or not. TRUE by default.

Details

A harmonized dossier is a named list containing one or more data frames, which are harmonized datasets. A harmonized dossier is generally the product of applying processing to a dossier object The name of each harmonized dataset (data frame) is taken from the reference input dataset. A harmonized dossier also contains the DataSchema and Data Processing Elements used in processing as attributes.

Examples

Run this code
{
# Use Rmonize_examples to run examples.
library(dplyr)

# Perform data processing
harmonized_dossier <- Rmonize_examples$`harmonized_dossier`

# Show error(s) on the console
show_harmo_error(harmonized_dossier)
}

Run the code above in your browser using DataLab