{"action":"created","issue":{"url":"https://api.github.com/repos/ropensci/rgbif/issues/293","repository_url":"https://api.github.com/repos/ropensci/rgbif","labels_url":"https://api.github.com/repos/ropensci/rgbif/issues/293/labels{/name}","comments_url":"https://api.github.com/repos/ropensci/rgbif/issues/293/comments","events_url":"https://api.github.com/repos/ropensci/rgbif/issues/293/events","html_url":"https://github.com/ropensci/rgbif/pull/293","id":305934771,"number":293,"title":"Add origin as input to name_lookup + minor documentation corrections","user":{"login":"damianooldoni","id":33662631,"avatar_url":"https://avatars1.githubusercontent.com/u/33662631?v=4","gravatar_id":"","url":"https://api.github.com/users/damianooldoni","html_url":"https://github.com/damianooldoni","followers_url":"https://api.github.com/users/damianooldoni/followers","following_url":"https://api.github.com/users/damianooldoni/following{/other_user}","gists_url":"https://api.github.com/users/damianooldoni/gists{/gist_id}","starred_url":"https://api.github.com/users/damianooldoni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damianooldoni/subscriptions","organizations_url":"https://api.github.com/users/damianooldoni/orgs","repos_url":"https://api.github.com/users/damianooldoni/repos","events_url":"https://api.github.com/users/damianooldoni/events{/privacy}","received_events_url":"https://api.github.com/users/damianooldoni/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-16T13:50:11Z","updated_at":"2018-03-19T16:56:45Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/ropensci/rgbif/pulls/293","html_url":"https://github.com/ropensci/rgbif/pull/293","diff_url":"https://github.com/ropensci/rgbif/pull/293.diff","patch_url":"https://github.com/ropensci/rgbif/pull/293.patch"},"body":"## Description\r\nI have added origin as input of function `name_lookup()`. Examples and tests added. Minor documentation corrections provided as well.\r\n\r\n## Related Issue\r\nThis PR should add the functionality mentioned in #288.\r\n\r\n## Example\r\nIt works with `origin` as vector (many inputs = OR):\r\n```r\r\nname_lookup(datasetKey = \"289244ee-e1c1-49aa-b2d7-d379391ce265\", \r\n            origin = c(\"SOURCE\", \"DENORMED_CLASSIFICATION\"))\r\n```\r\n\r\nor as single character:\r\n```r\r\nname_lookup(datasetKey = \"289244ee-e1c1-49aa-b2d7-d379391ce265\", origin = \"SOURCE\")\r\n```\r\nIn the case above we get the same amount of records (in `.$data`) as mentioned by [dataset GBIF webpage](https://www.gbif.org/dataset/289244ee-e1c1-49aa-b2d7-d379391ce265), that means 73.\r\n\r\nI hope you find my contribution useful to improve `rgbif`. Thanks."},"comment":{"url":"https://api.github.com/repos/ropensci/rgbif/issues/comments/374285891","html_url":"https://github.com/ropensci/rgbif/pull/293#issuecomment-374285891","issue_url":"https://api.github.com/repos/ropensci/rgbif/issues/293","id":374285891,"user":{"login":"sckott","id":577668,"avatar_url":"https://avatars1.githubusercontent.com/u/577668?v=4","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":"2018-03-19T16:56:45Z","updated_at":"2018-03-19T16:56:45Z","author_association":"OWNER","body":"thanks! having a look"}}
{"actor":{"display_login":"sckott"}}