Rblpapi (version 0.3.10)

beqs: Run 'Bloomberg EQS' Queries

Description

This function uses the Bloomberg API to retrieve 'beqs' (Bloomberg EQS Data) queries

Usage

beqs(screenName, screenType = "GLOBAL", language = "", group = "",
  date = NULL, verbose = FALSE, con = defaultConnection())

Arguments

screenName

A character string with the name of the screen to execute. It can be a user defined EQS screen or one of the Bloomberg Example screens on EQS

screenType

A character string of value PRIVATE or GLOBAL Use PRIVATE for user-defined EQS screen. Use GLOBAL for Bloomberg EQS screen.

language

An optional character string with the EQS language

group

An optional character string with the Screen folder name as defined in EQS

date

An optional Date object with the ‘point in time’ date of the screen to execute.

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 date in the first column and and the requested EQS data in the remaining columns.

Examples

Run this code
# NOT RUN {
head(beqs("Global Oil Companies YTD Return"), 20)
head(beqs("Global Oil Companies YTD Return", "GLOBAL"), 20)
head(beqs("Global Oil Companies YTD Return", "GLOBAL", "GERMAN"), 20)
head(beqs("Global Oil Companies YTD Return", "GLOBAL", "GERMAN", "GENERAL"), 20)
head(beqs("Global Oil Companies YTD Return", "GLOBAL", "ENGLISH", "GENERAL",
          as.Date("2015-09-30")), 20)
# }

Run the code above in your browser using DataLab