report_df_values: Turns all df or dt columns into factors and reports the...

View source: R/debugging.R

report_df_valuesR Documentation

Turns all df or dt columns into factors and reports the counts for each.

Description

Turns all df or dt columns into factors and reports the counts for each.

Usage

report_df_values(my_df, report_columns = NULL, maxsum = 10)

Arguments

my_df

data.frame or data.table from which to report values

report_columns

Vector of columns names to check. Will default to the names in my_df.

maxsum

What is the max number of factors to report before goes to summary

Value

No return value. Outputs message reporting the factors and counts of each column.


Benjamin-Vincent-Lab/housekeeping documentation built on Feb. 17, 2024, 2:13 a.m.