{"action":"created","issue":{"url":"https://api.github.com/repos/remi-daigle/flickRgeotag/issues/9","repository_url":"https://api.github.com/repos/remi-daigle/flickRgeotag","labels_url":"https://api.github.com/repos/remi-daigle/flickRgeotag/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/remi-daigle/flickRgeotag/issues/9/comments","events_url":"https://api.github.com/repos/remi-daigle/flickRgeotag/issues/9/events","html_url":"https://github.com/remi-daigle/flickRgeotag/pull/9","id":147240341,"number":9,"title":"overhaul flickr photo search","user":{"login":"paleolimbot","id":10995762,"avatar_url":"https://avatars.githubusercontent.com/u/10995762?v=3","gravatar_id":"","url":"https://api.github.com/users/paleolimbot","html_url":"https://github.com/paleolimbot","followers_url":"https://api.github.com/users/paleolimbot/followers","following_url":"https://api.github.com/users/paleolimbot/following{/other_user}","gists_url":"https://api.github.com/users/paleolimbot/gists{/gist_id}","starred_url":"https://api.github.com/users/paleolimbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paleolimbot/subscriptions","organizations_url":"https://api.github.com/users/paleolimbot/orgs","repos_url":"https://api.github.com/users/paleolimbot/repos","events_url":"https://api.github.com/users/paleolimbot/events{/privacy}","received_events_url":"https://api.github.com/users/paleolimbot/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2016-04-10T16:55:31Z","updated_at":"2016-04-11T17:27:37Z","closed_at":"2016-04-11T17:21:44Z","pull_request":{"url":"https://api.github.com/repos/remi-daigle/flickRgeotag/pulls/9","html_url":"https://github.com/remi-daigle/flickRgeotag/pull/9","diff_url":"https://github.com/remi-daigle/flickRgeotag/pull/9.diff","patch_url":"https://github.com/remi-daigle/flickRgeotag/pull/9.patch"},"body":"Sorry to be a dick, but there are a number of reasons why what was written before would only work sporadically. First, geo queries only work if there is some other constraining information (see the API documentation), so adding a default `min_taken_date` solves this problem. Second, there was this weird `while` loop that ran the same query 10 times without changing any parameters. Third, multi-page requests need to be treated in the same call because duplicate photos are often included in multiple pages. I also added a `...` parameter so that arbitrary additional constraining information can be added (e.g. `text`, `tags`, etc.).\n\nAlso feel free to leave my API key in, it’s helpful for testing and I doubt anybody will go over 3600 requests and hour if cacheing is enabled."},"comment":{"url":"https://api.github.com/repos/remi-daigle/flickRgeotag/issues/comments/208462779","html_url":"https://github.com/remi-daigle/flickRgeotag/pull/9#issuecomment-208462779","issue_url":"https://api.github.com/repos/remi-daigle/flickRgeotag/issues/9","id":208462779,"user":{"login":"paleolimbot","id":10995762,"avatar_url":"https://avatars.githubusercontent.com/u/10995762?v=3","gravatar_id":"","url":"https://api.github.com/users/paleolimbot","html_url":"https://github.com/paleolimbot","followers_url":"https://api.github.com/users/paleolimbot/followers","following_url":"https://api.github.com/users/paleolimbot/following{/other_user}","gists_url":"https://api.github.com/users/paleolimbot/gists{/gist_id}","starred_url":"https://api.github.com/users/paleolimbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paleolimbot/subscriptions","organizations_url":"https://api.github.com/users/paleolimbot/orgs","repos_url":"https://api.github.com/users/paleolimbot/repos","events_url":"https://api.github.com/users/paleolimbot/events{/privacy}","received_events_url":"https://api.github.com/users/paleolimbot/received_events","type":"User","site_admin":false},"created_at":"2016-04-11T17:27:37Z","updated_at":"2016-04-11T17:27:37Z","body":"cool! let me know when you get close to releasing...getting the R CMD check to not return any errors can be a little ridiculous"}}