bsrch | R Documentation |
This function uses the Bloomberg API to retrieve 'bsrcb' (Bloomberg SRCH Data) queries
bsrch(domain, limit = "", verbose = FALSE, con = defaultConnection())
domain |
A character string with the name of the domain to execute. It can be a user defined SRCH screen, commodity screen or one of the variety of Bloomberg examples. All domains are in the format <domain>:<search_name>. |
limit |
A character string containing a value by which to limit the search length – NOT YET IMPLEMENTED |
verbose |
A boolean indicating whether verbose operation is desired, defaults to ‘FALSE’. |
con |
A connection object as created by a |
A data frame object with the requested SRCH data.
There are two main domains used for bsrch. The COMDTY domain requires additional parameters and is not supported. The FI domain works on user-defined searches accessed via SRCH.
Morgan Williams and Dirk Eddelbuettel
## Not run:
head(bsrch("FI:SRCHEX.@CLOSUB"), 20)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.