{"action":"created","issue":{"url":"https://api.github.com/repos/ropenscilabs/taxa/issues/15","repository_url":"https://api.github.com/repos/ropenscilabs/taxa","labels_url":"https://api.github.com/repos/ropenscilabs/taxa/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/ropenscilabs/taxa/issues/15/comments","events_url":"https://api.github.com/repos/ropenscilabs/taxa/issues/15/events","html_url":"https://github.com/ropenscilabs/taxa/issues/15","id":195598293,"number":15,"title":"New utility functions","user":{"login":"zachary-foster","id":6090555,"avatar_url":"https://avatars.githubusercontent.com/u/6090555?v=3","gravatar_id":"","url":"https://api.github.com/users/zachary-foster","html_url":"https://github.com/zachary-foster","followers_url":"https://api.github.com/users/zachary-foster/followers","following_url":"https://api.github.com/users/zachary-foster/following{/other_user}","gists_url":"https://api.github.com/users/zachary-foster/gists{/gist_id}","starred_url":"https://api.github.com/users/zachary-foster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zachary-foster/subscriptions","organizations_url":"https://api.github.com/users/zachary-foster/orgs","repos_url":"https://api.github.com/users/zachary-foster/repos","events_url":"https://api.github.com/users/zachary-foster/events{/privacy}","received_events_url":"https://api.github.com/users/zachary-foster/received_events","type":"User","site_admin":false},"labels":[{"id":340660432,"url":"https://api.github.com/repos/ropenscilabs/taxa/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"zachary-foster","id":6090555,"avatar_url":"https://avatars.githubusercontent.com/u/6090555?v=3","gravatar_id":"","url":"https://api.github.com/users/zachary-foster","html_url":"https://github.com/zachary-foster","followers_url":"https://api.github.com/users/zachary-foster/followers","following_url":"https://api.github.com/users/zachary-foster/following{/other_user}","gists_url":"https://api.github.com/users/zachary-foster/gists{/gist_id}","starred_url":"https://api.github.com/users/zachary-foster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zachary-foster/subscriptions","organizations_url":"https://api.github.com/users/zachary-foster/orgs","repos_url":"https://api.github.com/users/zachary-foster/repos","events_url":"https://api.github.com/users/zachary-foster/events{/privacy}","received_events_url":"https://api.github.com/users/zachary-foster/received_events","type":"User","site_admin":false},"assignees":[{"login":"zachary-foster","id":6090555,"avatar_url":"https://avatars.githubusercontent.com/u/6090555?v=3","gravatar_id":"","url":"https://api.github.com/users/zachary-foster","html_url":"https://github.com/zachary-foster","followers_url":"https://api.github.com/users/zachary-foster/followers","following_url":"https://api.github.com/users/zachary-foster/following{/other_user}","gists_url":"https://api.github.com/users/zachary-foster/gists{/gist_id}","starred_url":"https://api.github.com/users/zachary-foster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zachary-foster/subscriptions","organizations_url":"https://api.github.com/users/zachary-foster/orgs","repos_url":"https://api.github.com/users/zachary-foster/repos","events_url":"https://api.github.com/users/zachary-foster/events{/privacy}","received_events_url":"https://api.github.com/users/zachary-foster/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-12-14T17:44:45Z","updated_at":"2016-12-16T01:05:46Z","closed_at":null,"body":"There are a few \"utility\" functions I am thinking about adding in the same family as `subtaxa`, `supertaxa`, and `roots`. \r\n\r\n## `tips` or `leaves` \r\n\r\nThis would return all the taxa with no subtaxa. It would be useful when transforming a `taxonomy` into a `hierarchies`. \r\n\r\nWhich name do you like better? `leaves` is consistent with `roots` and `stems`, but `tips` is shorter...\r\n\r\n## `stems` \r\n\r\nThis would return only taxa between a root (`NA`) and the first taxon with more than one subtaxon. I find I often want to quickly remove these taxa since their information is not needed in many contexts (e.g. you have a dataset with only animals, but you still have \"cellular organisms; Eukaryota; Opisthokonta\" in front of everything. "},"comment":{"url":"https://api.github.com/repos/ropenscilabs/taxa/issues/comments/267490549","html_url":"https://github.com/ropenscilabs/taxa/issues/15#issuecomment-267490549","issue_url":"https://api.github.com/repos/ropenscilabs/taxa/issues/15","id":267490549,"user":{"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},"created_at":"2016-12-16T01:05:46Z","updated_at":"2016-12-16T01:05:46Z","body":"that's okay, yeah, looks good to me. "}}
{"actor":{"display_login":"sckott"}}