getDBLabels {ccmReportR}R Documentation

Helper function for building SOQL queries

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

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.


[Package ccmReportR version 0.1.0 Index]