Learn R Programming

joinspy (version 0.7.3)

.detect_whitespace: Detect Whitespace Issues in Keys

Description

Checks for leading or trailing whitespace in character vectors.

Usage

.detect_whitespace(x)

Value

A list with:

has_issues

Logical indicating if whitespace issues found

leading

Indices of values with leading whitespace

trailing

Indices of values with trailing whitespace

affected_values

Unique values with whitespace issues

Arguments

x

A character vector to check.