{"action":"created","issue":{"url":"https://api.github.com/repos/ropensci/taxize/issues/334","labels_url":"https://api.github.com/repos/ropensci/taxize/issues/334/labels{/name}","comments_url":"https://api.github.com/repos/ropensci/taxize/issues/334/comments","events_url":"https://api.github.com/repos/ropensci/taxize/issues/334/events","html_url":"https://github.com/ropensci/taxize/issues/334","id":42107559,"number":334,"title":"problem specifying the encoding for itis retrievals","user":{"login":"scelmendorf","id":5498086,"avatar_url":"https://avatars.githubusercontent.com/u/5498086?v=3","gravatar_id":"","url":"https://api.github.com/users/scelmendorf","html_url":"https://github.com/scelmendorf","followers_url":"https://api.github.com/users/scelmendorf/followers","following_url":"https://api.github.com/users/scelmendorf/following{/other_user}","gists_url":"https://api.github.com/users/scelmendorf/gists{/gist_id}","starred_url":"https://api.github.com/users/scelmendorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scelmendorf/subscriptions","organizations_url":"https://api.github.com/users/scelmendorf/orgs","repos_url":"https://api.github.com/users/scelmendorf/repos","events_url":"https://api.github.com/users/scelmendorf/events{/privacy}","received_events_url":"https://api.github.com/users/scelmendorf/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ropensci/taxize/labels/Bug","name":"Bug","color":"e10c02"}],"state":"closed","locked":false,"assignee":{"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},"milestone":null,"comments":27,"created_at":"2014-09-06T03:40:31Z","updated_at":"2015-05-27T01:35:51Z","closed_at":"2015-05-27T01:35:51Z","body":"Trying to get the authorship info for a taxon, but I'm running into problems with the special characters.  Example:\r\n\r\nmyProblem<-itis_terms(query='Amara fulva', \"scientific\")\r\nmyProblem$author\r\n\r\nI poked a bit and think I should be able to pass arguments to curl, but clearly I'm not doing this correctly.\r\nIdeas?  Or would it make sense to set the encoding for calls to itis to whatever itis.gov's encoding is (I actually couldn't figure this out from their website, but some trial and error might do the trick)\r\ndoesNotFixMyProblem<-itis_terms(query='Amara fulva', \"scientific\", curlopts=(list(.encoding='UTF-8')))\r\n\r\nideas?"},"comment":{"url":"https://api.github.com/repos/ropensci/taxize/issues/comments/105715127","html_url":"https://github.com/ropensci/taxize/issues/334#issuecomment-105715127","issue_url":"https://api.github.com/repos/ropensci/taxize/issues/334","id":105715127,"user":{"login":"scelmendorf","id":5498086,"avatar_url":"https://avatars.githubusercontent.com/u/5498086?v=3","gravatar_id":"","url":"https://api.github.com/users/scelmendorf","html_url":"https://github.com/scelmendorf","followers_url":"https://api.github.com/users/scelmendorf/followers","following_url":"https://api.github.com/users/scelmendorf/following{/other_user}","gists_url":"https://api.github.com/users/scelmendorf/gists{/gist_id}","starred_url":"https://api.github.com/users/scelmendorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scelmendorf/subscriptions","organizations_url":"https://api.github.com/users/scelmendorf/orgs","repos_url":"https://api.github.com/users/scelmendorf/repos","events_url":"https://api.github.com/users/scelmendorf/events{/privacy}","received_events_url":"https://api.github.com/users/scelmendorf/received_events","type":"User","site_admin":false},"created_at":"2015-05-27T01:35:51Z","updated_at":"2015-05-27T01:35:51Z","body":"Github version works:\r\n\r\n```\r\ntaxize::itis_terms(query='Amara fulva', \"scientific\")\r\ntsn            author commonnames nameusage scientificname           .attrs\r\n1 110866 (O. Müller, 1776)        <NA>     valid    Amara fulva ax21:SvcItisTerm\r\n```\r\nThanks!"}}