ColumnStatisticsApi {factset.analyticsapi.engines}R Documentation

ColumnStatistics operations

Description

factset.analyticsapi.engines.ColumnStatistics

Format

An R6Class generator object

Methods

GetPAColumnStatistics Get PA column statistics This endpoint lists all the column statistics that can be applied to a PA column.

Public fields

apiClient

Handles the client-server communication.

Methods

Public methods


Method new()

Usage
ColumnStatisticsApi$new(apiClient)

Method GetPAColumnStatistics()

Usage
ColumnStatisticsApi$GetPAColumnStatistics(...)

Method GetPAColumnStatisticsWithHttpInfo()

Usage
ColumnStatisticsApi$GetPAColumnStatisticsWithHttpInfo(...)

Method clone()

The objects of this class are cloneable with this method.

Usage
ColumnStatisticsApi$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Examples

## Not run: 
####################  GetPAColumnStatistics  ####################

library(factset.analyticsapi.engines)

#Get PA column statistics
api.instance <- ColumnStatisticsApi$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$GetPAColumnStatistics(),
            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]