GroupsApi {factset.analyticsapi.engines}R Documentation

Groups operations

Description

factset.analyticsapi.engines.Groups

Format

An R6Class generator object

Methods

GetPAGroups Get PA groups This endpoint lists all the PA groups that can be applied to a PA calculation.

Public fields

apiClient

Handles the client-server communication.

Methods

Public methods


Method new()

Usage
GroupsApi$new(apiClient)

Method GetPAGroups()

Usage
GroupsApi$GetPAGroups(...)

Method GetPAGroupsWithHttpInfo()

Usage
GroupsApi$GetPAGroupsWithHttpInfo(...)

Method clone()

The objects of this class are cloneable with this method.

Usage
GroupsApi$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Examples

## Not run: 
####################  GetPAGroups  ####################

library(factset.analyticsapi.engines)

#Get PA groups
api.instance <- GroupsApi$new()

#Configure HTTP basic authorization: Basic
# provide your username in the user-serial format
api.instance$apiClient$username <- '<user-serial>'; 
# provide your api key generated using the developer portal
api.instance$apiClient$password <- '<api_key>';

result <- tryCatch(
            api.instance$GetPAGroups(),
            ApiException = function(ex) ex 
         )
# In case of error, print the error object 
if(!is.null(result$ApiException)) {
  cat(result$ApiException$toString())
} else {
# deserialized response object
response.object <- result$content
# response headers
response.headers <- result$response$headers
# response status code
response.status.code <- result$response$status_code
}



## End(Not run)

[Package factset.analyticsapi.engines version 3.0.1 Index]