report_missing_col_combinations: Identify and report missing value combinations

View source: R/utils.R

report_missing_col_combinationsR Documentation

Identify and report missing value combinations

Description

Checks if all level combinations of composite_unique_cols are indata and throws a warning on missing combinations. NOTE:

  1. a combination of all levels is not necessarily required/useful, make sure to use function only in adequate context.

  2. combinations of too many columns/values may exceed memory size. .

Usage

report_missing_col_combinations(data, col_names, throw_error = FALSE)

Arguments

data

A tibble.

col_names

String holding names of columns.

throw_error

Boolean, if TRUE error is thrown on failures, otherwise a warning.

Value

Returns data invisibly.


2DegreesInvesting/r2dii.climate.stress.test documentation built on June 6, 2024, 8:23 a.m.