Skip to contents

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]