err_tdy_many_to_one: Check and tidy a data frame describing a many-to-one mapping

Description Usage Arguments Examples

View source: R/err_tdy.R

Description

Check and tidy a data frame describing a many-to-one mapping

Usage

1

Arguments

x

A data frame.

name

The name for x that will be used in error messages.

Examples

1
2
3
x <- data.frame(from = 1:3,
                to = c("A", "B", "A"))
err_tdy_many_to_one(x, name = "x")

johnrbryant/demcheck documentation built on Dec. 31, 2021, 11:57 a.m.