{"action":"closed","issue":{"url":"https://api.github.com/repos/mdsumner/spbabel/issues/42","repository_url":"https://api.github.com/repos/mdsumner/spbabel","labels_url":"https://api.github.com/repos/mdsumner/spbabel/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/mdsumner/spbabel/issues/42/comments","events_url":"https://api.github.com/repos/mdsumner/spbabel/issues/42/events","html_url":"https://github.com/mdsumner/spbabel/issues/42","id":229847526,"number":42,"title":"bug: POLYGON decomposition doesn't record island status","user":{"login":"mdsumner","id":4107631,"avatar_url":"https://avatars1.githubusercontent.com/u/4107631?v=3","gravatar_id":"","url":"https://api.github.com/users/mdsumner","html_url":"https://github.com/mdsumner","followers_url":"https://api.github.com/users/mdsumner/followers","following_url":"https://api.github.com/users/mdsumner/following{/other_user}","gists_url":"https://api.github.com/users/mdsumner/gists{/gist_id}","starred_url":"https://api.github.com/users/mdsumner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdsumner/subscriptions","organizations_url":"https://api.github.com/users/mdsumner/orgs","repos_url":"https://api.github.com/users/mdsumner/repos","events_url":"https://api.github.com/users/mdsumner/events{/privacy}","received_events_url":"https://api.github.com/users/mdsumner/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-19T01:35:22Z","updated_at":"2017-05-19T01:56:58Z","closed_at":"2017-05-19T01:56:58Z","body":"\r\n```R\r\nncpoly <- readRDS(system.file(\"extdata\", \"testdata\", \"nc.rds\", package = \"spbabel\"))\r\nlibrary(spbabel)\r\n\r\nsptable(sf::st_cast(ncpoly, \"POLYGON\"))\r\n# A tibble: 2,529 x 5\r\n   object_        x_       y_ branch_ order_\r\n     <int>     <dbl>    <dbl>   <int>  <int>\r\n 1       1 -81.47276 36.23436      61      1\r\n\r\nsptable(ncpoly)\r\n# A tibble: 2,529 x 6\r\n   object_        x_       y_ island_ branch_ order_\r\n     <int>     <dbl>    <dbl>   <lgl>   <int>  <int>\r\n 1       1 -81.47276 36.23436    TRUE      13      1\r\n```"}}
{"actor":{"display_login":"mdsumner"}}