lisjoin: Join a tibble and a named list

Description Usage Arguments

View source: R/lisjoin.R View source: R/lisjoin.R

Description

Join a tibble and a named list

Usage

1
lisjoin(.tibble, .list, .key, name = "val", strategy = "left", types = NULL)

Arguments

.tibble

A tibble to be joined to .list

.list

a named list. Passing an unnamed list will throw an error.

name

name of the new variable with matched values from .list. Defaults to "val".

strategy

How should values be matched? Specify either 'left', 'right', 'inner' or 'full' to use the matching dplyr::x_join. Defaults to 'left'.

types

Should the operation enforce types? Defaults to no types, but users can enforce by choosing among 'int', 'dbl', 'chr' and 'lgl'.

key

a symbol containing the variable name in .tibble to be used as key.


pedrocava/lisjoin documentation built on June 29, 2021, 6:22 p.m.