renamesToFieldList: List of Renamings to Field Selection String

View source: R/convert.R

renamesToFieldListR Documentation

List of Renamings to Field Selection String

Description

Convert a list of renamings to a field selection string that can be used as fields argument in a call to hsGetTable

Usage

renamesToFieldList(
  renames,
  source.in.brackets = TRUE,
  target.in.brackets = TRUE
)

Arguments

renames

list of key = value pairs defining renamings from the keys to the values

source.in.brackets

if TRUE (default) the source expressions will be enclosed in square brackets: [source] AS <target>

target.in.brackets

if TRUE (default) the target names will be enclosed in square brackets: <source> AS [target]


KWB-R/kwb.db documentation built on Oct. 1, 2023, 4:10 a.m.