Closed konrad1234 closed 10 years ago
I try to discourage people from using end = Sys.Date()
as it can lead to unintended consequences (files are updated in real time -- so there is a chance of http errors and/or obtaining duplicate records). I'm guessing that if you use end = Sys.Date() - 1
, you won't receive an error. Please give that a try a let me know how it goes. Thanks!
I upgraded to the latest version of R and the problem has disappeared. I'll make a note to use your recommendation. Thanks for the help!
Ah, good to know, thanks for reporting back!
Just curious -- what version were you using?
I believe it was 2.15.3
Hey Carson,
When I run the following command:
scrape(start = "2014-01-01", end = Sys.Date(), connect=con)
I get this error:
Error in function (type, msg, asError = TRUE) : <url> malformed
I ran it through your dev build and got this result:
When I run the debug I get this:
With this line highlighted:
Is the URL being built incorrectly? Any insight you can provide would be great.
Thanks!