{"action":"created","issue":{"url":"https://api.github.com/repos/ropensci/mregions/issues/46","repository_url":"https://api.github.com/repos/ropensci/mregions","labels_url":"https://api.github.com/repos/ropensci/mregions/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/ropensci/mregions/issues/46/comments","events_url":"https://api.github.com/repos/ropensci/mregions/issues/46/events","html_url":"https://github.com/ropensci/mregions/issues/46","id":359119411,"node_id":"MDU6SXNzdWUzNTkxMTk0MTE=","number":46,"title":"mr_geo_code does not encode string for GET request","user":{"login":"LennertSchepers","id":6145889,"node_id":"MDQ6VXNlcjYxNDU4ODk=","avatar_url":"https://avatars1.githubusercontent.com/u/6145889?v=4","gravatar_id":"","url":"https://api.github.com/users/LennertSchepers","html_url":"https://github.com/LennertSchepers","followers_url":"https://api.github.com/users/LennertSchepers/followers","following_url":"https://api.github.com/users/LennertSchepers/following{/other_user}","gists_url":"https://api.github.com/users/LennertSchepers/gists{/gist_id}","starred_url":"https://api.github.com/users/LennertSchepers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LennertSchepers/subscriptions","organizations_url":"https://api.github.com/users/LennertSchepers/orgs","repos_url":"https://api.github.com/users/LennertSchepers/repos","events_url":"https://api.github.com/users/LennertSchepers/events{/privacy}","received_events_url":"https://api.github.com/users/LennertSchepers/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/ropensci/mregions/milestones/2","html_url":"https://github.com/ropensci/mregions/milestone/2","labels_url":"https://api.github.com/repos/ropensci/mregions/milestones/2/labels","id":1830879,"node_id":"MDk6TWlsZXN0b25lMTgzMDg3OQ==","number":2,"title":"v0.2","description":"","creator":{"login":"sckott","id":577668,"node_id":"MDQ6VXNlcjU3NzY2OA==","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},"open_issues":3,"closed_issues":0,"state":"open","created_at":"2016-06-15T21:35:53Z","updated_at":"2018-09-19T18:24:29Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2018-09-11T16:14:30Z","updated_at":"2018-09-19T18:28:22Z","closed_at":null,"author_association":"NONE","body":"I think that the mr_geo_code() function does not parse the url correctly when using special characters (e.g. spaces,..).\r\n\r\n    mr_geo_code('Belgian') # works\r\n    mr_geo_code('Belgian Exclusive') # Error in mr_geo_code(\"Belgian Exclusive\") : Bad Request (HTTP 400).\r\n    mr_geo_code(URLencode('Belgian Exclusive')) # works\r\n\r\nI didn't check (yet) if this is also the case for other functions"},"comment":{"url":"https://api.github.com/repos/ropensci/mregions/issues/comments/422909832","html_url":"https://github.com/ropensci/mregions/issues/46#issuecomment-422909832","issue_url":"https://api.github.com/repos/ropensci/mregions/issues/46","id":422909832,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMjkwOTgzMg==","user":{"login":"sckott","id":577668,"node_id":"MDQ6VXNlcjU3NzY2OA==","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-09-19T18:28:22Z","updated_at":"2018-09-19T18:28:22Z","author_association":"MEMBER","body":"thanks @LennertSchepers \r\n\r\nsince the place name goes into the URL path, httr doesn't url encode it, so we have to manually. just pushed a change, see if it works for you now. "}}
{"actor":{"display_login":"sckott"}}