map_names: 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
map_names(mapping, from, to)

Arguments

mapping

Mapping information. The actual value depends on the method to be used (namap::map_names.list() and namap::map_names.character()) 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.