V2RowOrganizedStachExtension {factset.protobuf.stachextensions} | R Documentation |
The purpose of this class is to provide the helper methods for converting stach(row organized) to Tabular format and to get meta data from stach
ConvertToDataFrame()
This function is used for converting stach to Tabular format
V2RowOrganizedStachExtension$ConvertToDataFrame(package, mergeHeaders)
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 the List of data frame for the stach data
GetMetadata()
This function is used to get meta data from stach
V2RowOrganizedStachExtension$GetMetadata(package)
package
Stach Data which is represented as a Package object
Returns the List of metadata for the stach data
clone()
The objects of this class are cloneable with this method.
V2RowOrganizedStachExtension$clone(deep = FALSE)
deep
Whether to make a deep clone.
## Not run:
package <- 'Stach data which is converted into RowOrganized Package'
stachExtensionrow <-
factset.protobuf.stachextensions::V2RowOrganizedStachExtension$new()
dataFrame <- stachExtensionrow$ConvertToDataFrame(package)
## End(Not run)