V2ColumnOrganizedStachExtension {factset.protobuf.stachextensions} | R Documentation |
V2ColumnOrganizedStachExtension
Description
The purpose of this class is to provide the helper methods for converting stach(column organized) to Tabular format and to get meta data from stach
Methods
Public methods
Method ConvertToDataFrame()
This function is used for converting stach to Tabular format
Usage
V2ColumnOrganizedStachExtension$ConvertToDataFrame(package, mergeHeaders)
Arguments
package
Stach Data which is represented as a Package object
mergeHeaders
Accepts Type as BOOLEAN,by default takes TRUE. If the value is TRUE, headers will be merged with column data as output in dataframe If the value is FALSE, headers will be added to column data as output in dataframe
Returns
Returns the List of data frame for the stach data
Method GetMetadata()
This function is used to get meta data from stach
Usage
V2ColumnOrganizedStachExtension$GetMetadata(package)
Arguments
package
Stach Data which is represented as a Package object
Returns
Returns the List of metadata for the stach data
Method clone()
The objects of this class are cloneable with this method.
Usage
V2ColumnOrganizedStachExtension$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.
Examples
## Not run:
package <- 'Stach data which is converted into ColumnOrganized Package'
stachExtensioncol <-
factset.protobuf.stachextensions::V2ColumnOrganizedStachExtension$new()
dataFrame <- stachExtensioncol$ConvertToDataFrame(package)
## End(Not run)