0
Quandl("CHRIS/CME_CL1", trim_start=Sys.Date()-15, trim_end=Sys.Date()-10, collapse="daily")
Error in match.arg(collapse) : 
  'arg' should be one of “”, “weekly”, “monthly”, “quarterly”, “annual”

Any ideas why that wont work? I copied straight from website too..

jrouquie
  • 4,315
  • 4
  • 27
  • 43
user1234440
  • 22,521
  • 18
  • 61
  • 103

1 Answers1

2

I'm the maintainer.

Initially when I created the package I saw no need to support daily since by default the data returned is the most granular, which in our case is daily. However I have seen some confusion arising lately and it won't hurt to accept it. I will accept "daily" as a parameter on the next release.

This should work right now

Quandl("CHRIS/CME_CL1", trim_start=Sys.Date()-15, trim_end=Sys.Date()-10)
Ray
  • 108
  • 6
  • Hello @Ray, may I ask how to get the SEC Harmonized Data into r ? I tried Quandl("RAYMOND/MSFT_COSTOFREVENUE_Q", trim_start="2009-06-27", trim_end="2014-03-29") but with no luck. – mql4beginner Aug 17 '14 at 08:06