{"action":"opened","issue":{"url":"https://api.github.com/repos/joelgombin/banR/issues/3","repository_url":"https://api.github.com/repos/joelgombin/banR","labels_url":"https://api.github.com/repos/joelgombin/banR/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/joelgombin/banR/issues/3/comments","events_url":"https://api.github.com/repos/joelgombin/banR/issues/3/events","html_url":"https://github.com/joelgombin/banR/issues/3","id":157294008,"number":3,"title":"bug when the adresses are duplicated","user":{"login":"joelgombin","id":1918735,"avatar_url":"https://avatars.githubusercontent.com/u/1918735?v=3","gravatar_id":"","url":"https://api.github.com/users/joelgombin","html_url":"https://github.com/joelgombin","followers_url":"https://api.github.com/users/joelgombin/followers","following_url":"https://api.github.com/users/joelgombin/following{/other_user}","gists_url":"https://api.github.com/users/joelgombin/gists{/gist_id}","starred_url":"https://api.github.com/users/joelgombin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelgombin/subscriptions","organizations_url":"https://api.github.com/users/joelgombin/orgs","repos_url":"https://api.github.com/users/joelgombin/repos","events_url":"https://api.github.com/users/joelgombin/events{/privacy}","received_events_url":"https://api.github.com/users/joelgombin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-27T21:29:59Z","updated_at":"2016-05-27T21:29:59Z","closed_at":null,"body":"Because of the join with implicit keys, when there are duplicated adresses in the input dataframe, the output dataframe has too many rows. Here is a reprex:\r\n\r\n``` r\r\ndf <- data.frame(adresses = c(\"11 allée Sacoman\", \"11 allée Sacoman\", \"23 allée Sacoman\"), code_insee = \"13016\", stringsAsFactors = FALSE)\r\nresult <- banR::ban_geocode(df, adresses, code_insee = \"code_insee\")\r\n#> Geocoding...\r\nnrow(df)\r\n#> [1] 3\r\nnrow(result)\r\n#> [1] 5\r\n```"}}
{"actor":{"display_login":"joelgombin"}}