{"action":"created","issue":{"url":"https://api.github.com/repos/ropensci/rfishbase/issues/30","labels_url":"https://api.github.com/repos/ropensci/rfishbase/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/ropensci/rfishbase/issues/30/comments","events_url":"https://api.github.com/repos/ropensci/rfishbase/issues/30/events","html_url":"https://github.com/ropensci/rfishbase/issues/30","id":41014657,"number":30,"title":"Request: Common Name","user":{"login":"rBatt","id":5630847,"avatar_url":"https://avatars.githubusercontent.com/u/5630847?v=3","gravatar_id":"","url":"https://api.github.com/users/rBatt","html_url":"https://github.com/rBatt","followers_url":"https://api.github.com/users/rBatt/followers","following_url":"https://api.github.com/users/rBatt/following{/other_user}","gists_url":"https://api.github.com/users/rBatt/gists{/gist_id}","starred_url":"https://api.github.com/users/rBatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rBatt/subscriptions","organizations_url":"https://api.github.com/users/rBatt/orgs","repos_url":"https://api.github.com/users/rBatt/repos","events_url":"https://api.github.com/users/rBatt/events{/privacy}","received_events_url":"https://api.github.com/users/rBatt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2014-08-24T17:36:56Z","updated_at":"2015-02-19T16:17:44Z","closed_at":null,"body":"It'd be nice to grab the common name (i.e., \"English name\"). So for *Gadus macrocephalus*, I could get \"Pacific Cod\"."},"comment":{"url":"https://api.github.com/repos/ropensci/rfishbase/issues/comments/75081205","html_url":"https://github.com/ropensci/rfishbase/issues/30#issuecomment-75081205","issue_url":"https://api.github.com/repos/ropensci/rfishbase/issues/30","id":75081205,"user":{"login":"cboettig","id":222586,"avatar_url":"https://avatars.githubusercontent.com/u/222586?v=3","gravatar_id":"","url":"https://api.github.com/users/cboettig","html_url":"https://github.com/cboettig","followers_url":"https://api.github.com/users/cboettig/followers","following_url":"https://api.github.com/users/cboettig/following{/other_user}","gists_url":"https://api.github.com/users/cboettig/gists{/gist_id}","starred_url":"https://api.github.com/users/cboettig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cboettig/subscriptions","organizations_url":"https://api.github.com/users/cboettig/orgs","repos_url":"https://api.github.com/users/cboettig/repos","events_url":"https://api.github.com/users/cboettig/events{/privacy}","received_events_url":"https://api.github.com/users/cboettig/received_events","type":"User","site_admin":false},"created_at":"2015-02-19T16:17:44Z","updated_at":"2015-02-19T16:17:44Z","body":"Hey Ryan,\n\nYou can just add the argument: `Language = \"English`\"`.\n\nYeah, the repeated common names in English reflect national differences\n(e.g. Aussies vs US common names), But I haven't yet resolved the code\nnumbers into those regions.  (Actually I think the most recent version\ndoes, but isn't on the test server yet).\n\n  For now, you'd have to just call `unique` on the table column.  For now,\n2.0 is aiming to return data frames analgous to each of the tables linked\nfrom the main page, e.g. look like this\nhttp://www.fishbase.org/comnames/CommonNamesList.php?ID=69&GenusName=Gadus&SpeciesName=morhua&StockCode=79\nin the case of common names.\n\n2.0 is far from stable yet, and still adding things.  We're also running on\nour own test server, which we take up and down as we add things on that end\ntoo.\n\nOn Thu, Feb 19, 2015, 6:04 AM Ryan Batt <notifications@github.com> wrote:\n\n> Just tried this. Thanks for the work. Suggestion: possible to narrow\n> output but subsetting returned fields?\n>\n> So if I do commonnames(\"Gadus morhua\"), I get a table with many entries\n> in many languages. Possible to only return English? Also, if many of the\n> English names are the same, possible to only return a unique list?\n>\n> These are things I can do myself, so are only small quality of life\n> additions. Otherwise, thanks!\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/ropensci/rfishbase/issues/30#issuecomment-75056394>.\n>\n"}}