I am trying to get time series data for a series that contains actual and forecast data.
However I am getting an error when I use the following code:
inflation1 <- dsws$timeSeriesRequest(instrument = "AUOCFCOR", datatype = "", startDate = "-2Y" endDate = "-0D", frequency = "Y")
The error messages that I get in the console are:
> inflation1 <- dsws$timeSeriesRequest(instrument = "AUOCFCOR", + datatype = "", + startDate = "" + endDate = "", Error: unexpected symbol in: " startDate = "" endDate" > frequency = "Y") Error: unexpected ')' in " frequency = "Y")" >
What am I doing wrong here?