View source: R/eikonHelperfunctions.r
ProcessSymbology | R Documentation |
Function to process raw output of python get_symbology to better in r readable format
ProcessSymbology(EikonSymbologyResult, from_symbol_type, to_symbol_type)
EikonSymbologyResult |
nested list: output from EikonGetSymbology with option raw_output set to TRUE |
from_symbol_type |
character use her same input as in EikonGetSymbology |
to_symbol_type |
character use her same input as in EikonGetSymbology |
data.frame containing 4 columns to_symbol_type, from_symbol_type, BestMatch (as defined by Eikon), error
[EikonGetSymbology()]
## Not run:
Raw_output_No_BestMatch <- EikonGetSymbology(EikonObject = Eikon
, symbol = c("GB00B03MLX29", "US0378331005"), from_symbol_type = "ISIN"
, to_symbol_type = "RIC" , raw_output = TRUE, bestMatch = FALSE )
ProcessSymbology(EikonSymbologyResult = Raw_output_No_BestMatch
, from_symbol_type = "ISIN", to_symbol_type = "RIC")
Raw_output_BestMatch <- EikonGetSymbology(EikonObject = Eikon
, symbol = c("GB00B03MLX29", "US0378331005"), from_symbol_type = "ISIN"
, to_symbol_type = "RIC" , raw_output = TRUE, bestMatch = TRUE )
ProcessSymbology(EikonSymbologyResult = Raw_output_BestMatch
, from_symbol_type = "ISIN", to_symbol_type = "RIC")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.