staticRequestSet {DatastreamDSWS2R}R Documentation

staticRequestSet

Description

This function creates a dataframe set of static requests for a set of stocks/indices

Usage

staticRequestSet(
  mydsws = dsws$new(),
  instrument,
  expression = "",
  endDate = Sys.Date(),
  frequency = "D",
  verbose = FALSE
)

Arguments

mydsws

a dsws object, if not provided a new one will be created

instrument

array of instruments

expression

an array of expressions such as PCH#(XXXX,1M) or Dataitems

endDate

the date of the request

frequency

optional frequency defaults to "D"

verbose

whether to display messages as making the request

Details

return a dataframe of static data

Value

a dataframe of the data


[Package DatastreamDSWS2R version 1.9.7 Index]