beqs: Run 'Bloomberg EQS' Queries

View source: R/beqs.R

beqsR Documentation

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 documentation built on Sept. 30, 2024, 5:08 p.m.