{"action":"created","issue":{"url":"https://api.github.com/repos/ropensci/RNeXML/issues/129","labels_url":"https://api.github.com/repos/ropensci/RNeXML/issues/129/labels{/name}","comments_url":"https://api.github.com/repos/ropensci/RNeXML/issues/129/comments","events_url":"https://api.github.com/repos/ropensci/RNeXML/issues/129/events","html_url":"https://github.com/ropensci/RNeXML/issues/129","id":110307950,"number":129,"title":"How to access the taxon IDs if the NeXML source contains them","user":{"login":"hlapp","id":51458,"avatar_url":"https://avatars.githubusercontent.com/u/51458?v=3","gravatar_id":"","url":"https://api.github.com/users/hlapp","html_url":"https://github.com/hlapp","followers_url":"https://api.github.com/users/hlapp/followers","following_url":"https://api.github.com/users/hlapp/following{/other_user}","gists_url":"https://api.github.com/users/hlapp/gists{/gist_id}","starred_url":"https://api.github.com/users/hlapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hlapp/subscriptions","organizations_url":"https://api.github.com/users/hlapp/orgs","repos_url":"https://api.github.com/users/hlapp/repos","events_url":"https://api.github.com/users/hlapp/events{/privacy}","received_events_url":"https://api.github.com/users/hlapp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":25,"created_at":"2015-10-07T20:19:30Z","updated_at":"2015-10-18T00:05:03Z","closed_at":null,"body":"Perhaps there is an easy way in the API already - how does one get at the the taxon IDs as annotated, for example, in the form of dwc:taxonID metadata? Like here in the NeXML produced by the Phenoscape API:\r\n\r\n```xml\r\n<otu id=\"VTO_0061495\" label=\"Ictalurus australis\" about=\"#VTO_0061495\">\r\n      <meta xsi:type=\"ResourceMeta\" rel=\"dwc:taxonID\" href=\"http://purl.obolibrary.org/obo/VTO_0061495\" />\r\n</otu>\r\n```\r\n\r\ncc @xu-hong."},"comment":{"url":"https://api.github.com/repos/ropensci/RNeXML/issues/comments/148962015","html_url":"https://github.com/ropensci/RNeXML/issues/129#issuecomment-148962015","issue_url":"https://api.github.com/repos/ropensci/RNeXML/issues/129","id":148962015,"user":{"login":"hlapp","id":51458,"avatar_url":"https://avatars.githubusercontent.com/u/51458?v=3","gravatar_id":"","url":"https://api.github.com/users/hlapp","html_url":"https://github.com/hlapp","followers_url":"https://api.github.com/users/hlapp/followers","following_url":"https://api.github.com/users/hlapp/following{/other_user}","gists_url":"https://api.github.com/users/hlapp/gists{/gist_id}","starred_url":"https://api.github.com/users/hlapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hlapp/subscriptions","organizations_url":"https://api.github.com/users/hlapp/orgs","repos_url":"https://api.github.com/users/hlapp/repos","events_url":"https://api.github.com/users/hlapp/events{/privacy}","received_events_url":"https://api.github.com/users/hlapp/received_events","type":"User","site_admin":false},"created_at":"2015-10-18T00:05:03Z","updated_at":"2015-10-18T00:05:03Z","body":"> They are unique keys for managing referential integrity within the document\r\n\r\nExactly (and @cboettig, this is the answer to your question - they are in essence local primary keys, which are never really useful to expose or export to anything else, including not from XML documents) . So you might as well use a sequential numbering - it's unique for each row, and will obviously be local to a data matrix (whereas that fact might be much less obvious from the XML doc's primary keys).\r\n\r\nSo I know there's been concern with and objection to using the row order of the data matrix, but in essence we're back to that."}}