{"action":"created","issue":{"url":"https://api.github.com/repos/ropensci/rfishbase/issues/96","repository_url":"https://api.github.com/repos/ropensci/rfishbase","labels_url":"https://api.github.com/repos/ropensci/rfishbase/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/ropensci/rfishbase/issues/96/comments","events_url":"https://api.github.com/repos/ropensci/rfishbase/issues/96/events","html_url":"https://github.com/ropensci/rfishbase/pull/96","id":142517680,"number":96,"title":"add possibility to load entire table in single or looped API call from endpoint","user":{"login":"Philipp-Neubauer","id":2245387,"avatar_url":"https://avatars.githubusercontent.com/u/2245387?v=3","gravatar_id":"","url":"https://api.github.com/users/Philipp-Neubauer","html_url":"https://github.com/Philipp-Neubauer","followers_url":"https://api.github.com/users/Philipp-Neubauer/followers","following_url":"https://api.github.com/users/Philipp-Neubauer/following{/other_user}","gists_url":"https://api.github.com/users/Philipp-Neubauer/gists{/gist_id}","starred_url":"https://api.github.com/users/Philipp-Neubauer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Philipp-Neubauer/subscriptions","organizations_url":"https://api.github.com/users/Philipp-Neubauer/orgs","repos_url":"https://api.github.com/users/Philipp-Neubauer/repos","events_url":"https://api.github.com/users/Philipp-Neubauer/events{/privacy}","received_events_url":"https://api.github.com/users/Philipp-Neubauer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-22T01:26:03Z","updated_at":"2016-03-22T23:33:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ropensci/rfishbase/pulls/96","html_url":"https://github.com/ropensci/rfishbase/pull/96","diff_url":"https://github.com/ropensci/rfishbase/pull/96.diff","patch_url":"https://github.com/ropensci/rfishbase/pull/96.patch"},"body":"Loop for the endpoint closure with offset since that was giving the same limit error with large species_lists as in #79. I also added a way to load the entire table at once instead of doing loops over each species in the endpoint closure (by omitting the species list in the fxn args), since the repeated API calls make the process very slow when the species list is large - at least for me. In that case, it seems much faster to query the entire table and subset it with the desired species codes afterward. I'm doing that outside of the function at the moment, but could be done within the function I suppose."},"comment":{"url":"https://api.github.com/repos/ropensci/rfishbase/issues/comments/200079278","html_url":"https://github.com/ropensci/rfishbase/pull/96#issuecomment-200079278","issue_url":"https://api.github.com/repos/ropensci/rfishbase/issues/96","id":200079278,"user":{"login":"sckott","id":577668,"avatar_url":"https://avatars.githubusercontent.com/u/577668?v=3","gravatar_id":"","url":"https://api.github.com/users/sckott","html_url":"https://github.com/sckott","followers_url":"https://api.github.com/users/sckott/followers","following_url":"https://api.github.com/users/sckott/following{/other_user}","gists_url":"https://api.github.com/users/sckott/gists{/gist_id}","starred_url":"https://api.github.com/users/sckott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sckott/subscriptions","organizations_url":"https://api.github.com/users/sckott/orgs","repos_url":"https://api.github.com/users/sckott/repos","events_url":"https://api.github.com/users/sckott/events{/privacy}","received_events_url":"https://api.github.com/users/sckott/received_events","type":"User","site_admin":false},"created_at":"2016-03-22T23:33:34Z","updated_at":"2016-03-22T23:33:34Z","body":"> added a simple tweak to address #80:\r\n\r\nwhich change is that?"}}