check_consistency_absence_one_term: minimal tidy data set for regregrap report production.

Description Usage Arguments Details Value Examples

View source: R/check_consistency_absence_one_term.R

Description

check_consistency_absence_one_term is the class used for the creation of all figures and tables in the made up RAP report (it's a demo for the RAP MOOC).

Usage

1
2
check_consistency_absence_one_term(x, log_level = futile.logger::WARN,
  log_appender = "console")

Arguments

x

Input dataframe, see details.

log_level

The severity level at which log messages are written from least to most serious: TRACE, DEBUG, INFO, WARN, ERROR, FATAL. Default is level is INFO. See ?flog.threshold() for additional details.

log_appender

Defaults to write the log to "console", alternatively you can provide a character string to specify a filename to also write to. See for additional details ?futile.logger::appender.tee().

Details

The check_consistency_absence_one_term class expects a data.frame with at least four columns: term, level, year, sess_overall.

Once inititated, the class has five slots: df: the basic data.frame, colnames: a character vector containing the column names from the df,

Value

If the class is not instantiated correctly, nothing is returned.

Examples

1
2
3

TomFranklin/dferap documentation built on May 25, 2019, 7:25 p.m.