-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
read.socrata(url, token) neglects my token #105
Comments
Alex, In your example, why are there two underscores in the protocol section of the URL?
Also, it's helpful if you format the code as code in your question. I hope you don't mind, but I have taken the liberty of modifying the formatting of your question. For inline code, you can enclose your code in backticks (the key to the left of the 1 on most keyboards). This will render the surrounded text as code, e.g. For blocks of code, you can start with a "code fence" which is three backticks. Optionally, you can also indicate your language, e.g. ```R You are using the |
Yes, thank you. Once again, the problem is: if I don't add any SoQL parameters to the endpoint URL - everything works fine WITH a token and without a token, but if I do add filtering with $where - the version WITH a token (which is not throttled down) stops working, while the version without a token - still works. Note: and it doesn't matter how you pass the parameter to the function, as |
FYI, this is also cross-posted by @alxfed in Stack Overflow: https://stackoverflow.com/questions/39901044/rsocrata-package-with-chicago-data-neglects-my-token/39903084?noredirect=1#comment67096239_39903084 Thanks for helping out @geneorama! 🍻 |
I've added a test to check for this in the future. The test both conducts a read.socrata("https://soda.demo.socrata.com/resource/4334-bgaj.csv?$where=magnitude > 3.0", app_token="ew2rEMuESuzWPqMkyPfOSGJgE") I'm now reworking the code to make sure this error doesn't happen again. |
Thank you, @tomschenkjr. This particular dataset ( 7edu-s3u7 ) with three weather stations each adding an observation every hour as a row is particularly hard to deal with without |
@alxfed - a fix is on the branch This will be rolled into our release on CRAN, likely available first week of Nov. |
Thank you. Shall do it. |
It's all in place except for the gap (and it's for three stations too, somebody was on vacation for 10 days there). Thank you once again, I will take it where you say, @tomschenkjr |
I can not throttle-up my downloads by using the token issued to my app (on data.chicago.com portal, where I registered it)
Error 1:
which returns:
I have NO IDEA where did the first 'token' (2524 2524) come from, do you?
Non-error:
WITHOUT A TOKEN (and not throttled-up) works perfectly well!
The text was updated successfully, but these errors were encountered: