Learn R Programming

DatastreamDSWS2R (version 1.9.12)

staticRequest: make a static request (Depreciated)

Description

makes a static (or snapshot request) from the Datastream DSWS server

Usage

staticRequest(
  dwei = getDataStream(),
  DSCode,
  Expression = "",
  endDate = Sys.Date(),
  frequency = "D",
  verbose = FALSE,
  noCache = FALSE
)

Value

returns an array of the requested information

Arguments

dwei

- A Datastream Client Interface object created with getDataStream

DSCode

- an array of instruments eg c("RIO","MKS")

Expression

- the data to return eg MNEM or NAME

endDate

- the date of the request, or the string "TODAY"

frequency

- the frequency of the request

verbose

- whether to give messages during the request

noCache

- no longer used

Details

staticRequest Function that returns a the value of Expression for the array of instruments in DSCode from Datastream parameters are