{"action":"created","issue":{"url":"https://api.github.com/repos/openml/openml-r/issues/275","repository_url":"https://api.github.com/repos/openml/openml-r","labels_url":"https://api.github.com/repos/openml/openml-r/issues/275/labels{/name}","comments_url":"https://api.github.com/repos/openml/openml-r/issues/275/comments","events_url":"https://api.github.com/repos/openml/openml-r/issues/275/events","html_url":"https://github.com/openml/openml-r/issues/275","id":176004679,"number":275,"title":"list* functions should do chunked requests","user":{"login":"jakobbossek","id":4079979,"avatar_url":"https://avatars.githubusercontent.com/u/4079979?v=3","gravatar_id":"","url":"https://api.github.com/users/jakobbossek","html_url":"https://github.com/jakobbossek","followers_url":"https://api.github.com/users/jakobbossek/followers","following_url":"https://api.github.com/users/jakobbossek/following{/other_user}","gists_url":"https://api.github.com/users/jakobbossek/gists{/gist_id}","starred_url":"https://api.github.com/users/jakobbossek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakobbossek/subscriptions","organizations_url":"https://api.github.com/users/jakobbossek/orgs","repos_url":"https://api.github.com/users/jakobbossek/repos","events_url":"https://api.github.com/users/jakobbossek/events{/privacy}","received_events_url":"https://api.github.com/users/jakobbossek/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openml/openml-r/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/openml/openml-r/labels/later","name":"later","color":"bfdadc"}],"state":"open","locked":false,"assignee":{"login":"jakobbossek","id":4079979,"avatar_url":"https://avatars.githubusercontent.com/u/4079979?v=3","gravatar_id":"","url":"https://api.github.com/users/jakobbossek","html_url":"https://github.com/jakobbossek","followers_url":"https://api.github.com/users/jakobbossek/followers","following_url":"https://api.github.com/users/jakobbossek/following{/other_user}","gists_url":"https://api.github.com/users/jakobbossek/gists{/gist_id}","starred_url":"https://api.github.com/users/jakobbossek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakobbossek/subscriptions","organizations_url":"https://api.github.com/users/jakobbossek/orgs","repos_url":"https://api.github.com/users/jakobbossek/repos","events_url":"https://api.github.com/users/jakobbossek/events{/privacy}","received_events_url":"https://api.github.com/users/jakobbossek/received_events","type":"User","site_admin":false},"assignees":[{"login":"jakobbossek","id":4079979,"avatar_url":"https://avatars.githubusercontent.com/u/4079979?v=3","gravatar_id":"","url":"https://api.github.com/users/jakobbossek","html_url":"https://github.com/jakobbossek","followers_url":"https://api.github.com/users/jakobbossek/followers","following_url":"https://api.github.com/users/jakobbossek/following{/other_user}","gists_url":"https://api.github.com/users/jakobbossek/gists{/gist_id}","starred_url":"https://api.github.com/users/jakobbossek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakobbossek/subscriptions","organizations_url":"https://api.github.com/users/jakobbossek/orgs","repos_url":"https://api.github.com/users/jakobbossek/repos","events_url":"https://api.github.com/users/jakobbossek/events{/privacy}","received_events_url":"https://api.github.com/users/jakobbossek/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-09-09T13:06:18Z","updated_at":"2016-09-19T07:25:05Z","closed_at":null,"body":"At the moment we get an error if we query too many results:\r\n```splus\r\nlistOMLRuns(tag = \"study_1\")\r\nDownloading from 'http://test.openml.org/api/v1/json/run/list/tag/study_1' to '<mem>'.\r\nFehler in doHTTRCall(method, url = url, query = list(api_key = conf$apikey),  :\r\n  ERROR (code = 513) in server response: Too many results\r\n```\r\n\r\nTo get all requested results we need to the manually do multiple requests.\r\nIt would be nice to have a chunking mechanism in background which transparently does multiple requests and merges results.\r\n\r\nDiscussion is welcome.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/openml/openml-r/issues/comments/247926089","html_url":"https://github.com/openml/openml-r/issues/275#issuecomment-247926089","issue_url":"https://api.github.com/repos/openml/openml-r/issues/275","id":247926089,"user":{"login":"giuseppec","id":4238748,"avatar_url":"https://avatars.githubusercontent.com/u/4238748?v=3","gravatar_id":"","url":"https://api.github.com/users/giuseppec","html_url":"https://github.com/giuseppec","followers_url":"https://api.github.com/users/giuseppec/followers","following_url":"https://api.github.com/users/giuseppec/following{/other_user}","gists_url":"https://api.github.com/users/giuseppec/gists{/gist_id}","starred_url":"https://api.github.com/users/giuseppec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giuseppec/subscriptions","organizations_url":"https://api.github.com/users/giuseppec/orgs","repos_url":"https://api.github.com/users/giuseppec/repos","events_url":"https://api.github.com/users/giuseppec/events{/privacy}","received_events_url":"https://api.github.com/users/giuseppec/received_events","type":"User","site_admin":false},"created_at":"2016-09-19T07:25:05Z","updated_at":"2016-09-19T07:25:05Z","body":"I think we know that the limit for each request is 10.000, maybe we should ask for an additional API call that first gives us just the number of results and then we can do a if-else instead of using `try`. OR: We simply ask if the server limit will be removed, I don't see a reason why we have a limit, if we then try to work around that with chunked requests..."}}
{"actor":{"display_login":"giuseppec"}}