| V2RowOrganizedStachExtension {factset.protobuf.stachextensions} | R Documentation |
V2RowOrganizedStachExtension
Description
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
Methods
Public methods
Method ConvertToDataFrame()
This function is used for converting stach to Tabular format
Usage
V2RowOrganizedStachExtension$ConvertToDataFrame(package, mergeHeaders)
Arguments
packageStach Data which is represented as a Package object
mergeHeadersAccepts 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
V2RowOrganizedStachExtension$GetMetadata(package)
Arguments
packageStach 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
V2RowOrganizedStachExtension$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Examples
## Not run:
package <- 'Stach data which is converted into RowOrganized Package'
stachExtensionrow <-
factset.protobuf.stachextensions::V2RowOrganizedStachExtension$new()
dataFrame <- stachExtensionrow$ConvertToDataFrame(package)
## End(Not run)