R twitteR searchTwitter geocode warning/error

我与影子孤独终老i 提交于 2019-12-02 08:34:56
hrbrmstr

I believe you need to remove the spaces in the geocode parameter:

statuses = searchTwitter(keyword, n=100, lang="en",sinceID = NULL, geocode="39.312957,-76.618119,10km",retryOnRateLimit=10)

FWIW You can use the Twitter desktop client "Develop" console to test out URLs before committing them into scripts.

Had the same issue. Your parameters are in the correct order, but you must avoid any whitespace within the geocode. Also, 10km might be too little a radius for the accuracy of the coordinates given, might want to try with 12mi.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!