Reputation: 23567
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..
Upvotes: 0
Views: 175
Reputation: 108
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)
Upvotes: 2