clean_by: Clean "by" argument

View source: R/clean_by.R

clean_byR Documentation

Clean "by" argument

Description

clean_by() takes a valid by input of a character vector (named or unnamed) and transforms it into a list. Similar to common_by but does not require the actual data frames.

Usage

clean_by(by)

Arguments

by

A character vector of variables to join by. Same specification as used in mutate-joins.

To join by different variables on x and y use a named vector. For example, by = c("a" = "b") will match x$a to y$b.


Technomics/costmisc documentation built on Nov. 12, 2024, 8:05 a.m.