bsrch {Rblpapi} | R Documentation |
Run 'Bloomberg SRCH' Queries
Description
This function uses the Bloomberg API to retrieve 'bsrcb' (Bloomberg SRCH Data) queries
Usage
bsrch(domain, limit = "", verbose = FALSE, con = defaultConnection())
Arguments
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 |
Value
A data frame object with the requested SRCH data.
Note
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.
Author(s)
Morgan Williams and Dirk Eddelbuettel
Examples
## Not run:
head(bsrch("FI:YOURSRCH"), 20)
## End(Not run)