staticRequestSet: staticRequestSet

Description Usage Arguments Details Value

View source: R/wrapper.R

Description

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

Usage

1
2
3
4
5
6
7
8
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


DatastreamDSWS2R documentation built on Oct. 5, 2021, 5:08 p.m.