map_names.list: Map column names from/to internal/external value...

Description Usage Arguments Value

View source: R/map.R

Description

Map column names from/to internal/external value \lifecycleexperimental

Usage

1
2
## S3 method for class 'list'
map_names(mapping, from = "external", to = "internal")

Arguments

mapping

[list] List containing the mapping information (list(internal = <value>, external = <value>)) or list of such lists for multiple columns. It is suggested that this is read from a YAML config file via confx::conf_get()

from

[character] List element from mapping arg to describe the source of the mapping

to

[character] List element from mapping arg to describe the target of the mapping

Value

[list] List that can be used in conjunctin with the !!! in functions such as dplyr::rename() or dplyr::select(). The structure is list(<to> = "<from>")


rappster/namap documentation built on April 1, 2020, 4:57 p.m.