Rblpapi (version 0.3.8)

bsrch: 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 blpConnect call, and retrieved via the internal function defaultConnection.

Value

A data frame object with the requested SRCH data.

Examples

Run this code
# NOT RUN {
head(bsrch("COMDTY:NGFLOW"), 20)
head(bsrch("COMDTY:VESSEL"), 20)
# }

Run the code above in your browser using DataCamp Workspace