getDBLabels: Helper function for building SOQL queries

Description Usage Arguments Value

View source: R/getDBLabels.R

Description

getDBLabels() retrieves the description of a specified object in CCM then searches for field names using the field label seen on the client-side.

Usage

1
getDBLabels(table, colNames)

Arguments

table

Character scalar. Names the CCM object which the function will use to search for field names.

colNames

Character vector. Contains a combination field names and labels to search for in table.

Value

Character vector. Field names suitable for use in subsequent SOQL queries. Elements form colNames not found in table are removed from the results.


ccmReportR documentation built on Feb. 12, 2021, 1:06 a.m.