Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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.

Author(s)

Rademeyer Vermaak and Dirk Eddelbuettel

Examples

## 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)

## End(Not run)

Rblpapi

R Interface to 'Bloomberg'

v0.3.11
file LICENSE
Authors
Whit Armstrong, Dirk Eddelbuettel and John Laing
Initial release
2021-04-20

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.