{"action":"created","issue":{"url":"https://api.github.com/repos/ropensci/neotoma/issues/197","labels_url":"https://api.github.com/repos/ropensci/neotoma/issues/197/labels{/name}","comments_url":"https://api.github.com/repos/ropensci/neotoma/issues/197/comments","events_url":"https://api.github.com/repos/ropensci/neotoma/issues/197/events","html_url":"https://github.com/ropensci/neotoma/issues/197","id":95037358,"number":197,"title":"`chronology.id` in `age.type` column? ","user":{"login":"andydawson","id":3595715,"avatar_url":"https://avatars.githubusercontent.com/u/3595715?v=3","gravatar_id":"","url":"https://api.github.com/users/andydawson","html_url":"https://github.com/andydawson","followers_url":"https://api.github.com/users/andydawson/followers","following_url":"https://api.github.com/users/andydawson/following{/other_user}","gists_url":"https://api.github.com/users/andydawson/gists{/gist_id}","starred_url":"https://api.github.com/users/andydawson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andydawson/subscriptions","organizations_url":"https://api.github.com/users/andydawson/orgs","repos_url":"https://api.github.com/users/andydawson/repos","events_url":"https://api.github.com/users/andydawson/events{/privacy}","received_events_url":"https://api.github.com/users/andydawson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-14T20:51:28Z","updated_at":"2015-07-15T01:19:10Z","closed_at":null,"body":"Not sure what is going on here, or if this is an intended update. For the sites I have tried (and maybe all sites), the chronology identification number now appears in the `age.type` column instead of the `chronology.id` column in the objects returned by `get_download`.\r\n\r\nFor example:\r\n\r\n```\r\nfoo = get_download(3031)\r\n\r\n> foo[[1]]$sample.meta[1:4,]\r\n    depth thickness age.older age age.younger dataset.id                 chronology.name age.type\r\n2     650       0.5        NA -25          NA     NAPD 2 Calibrated radiocarbon years BP     5317\r\n210   662       0.5        NA -13          NA     NAPD 2 Calibrated radiocarbon years BP     5317\r\n3     670       0.5        NA   0          NA     NAPD 2 Calibrated radiocarbon years BP     5317\r\n4     680       0.5        NA  22          NA     NAPD 2 Calibrated radiocarbon years BP     5317\r\n    sample.id chronology.id unit.name\r\n2       56805            NA        NA\r\n210     56807            NA        NA\r\n3       56809            NA        NA\r\n4       56811            NA        NA\r\n\r\n> foo[[1]]$chronologies[[1]][1:4,]\r\n  age.older age age.younger     dataset.id      chronology.name age.type chronology.id\r\n1        NA   0          NA COHMAP chron 1 Radiocarbon years BP     1353            NA\r\n2        NA  21          NA COHMAP chron 1 Radiocarbon years BP     1353            NA\r\n3        NA  36          NA COHMAP chron 1 Radiocarbon years BP     1353            NA\r\n4        NA  54          NA COHMAP chron 1 Radiocarbon years BP     1353            NA\r\n```\r\n\r\nIs this intentional?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ropensci/neotoma/issues/comments/121446456","html_url":"https://github.com/ropensci/neotoma/issues/197#issuecomment-121446456","issue_url":"https://api.github.com/repos/ropensci/neotoma/issues/197","id":121446456,"user":{"login":"SimonGoring","id":1619126,"avatar_url":"https://avatars.githubusercontent.com/u/1619126?v=3","gravatar_id":"","url":"https://api.github.com/users/SimonGoring","html_url":"https://github.com/SimonGoring","followers_url":"https://api.github.com/users/SimonGoring/followers","following_url":"https://api.github.com/users/SimonGoring/following{/other_user}","gists_url":"https://api.github.com/users/SimonGoring/gists{/gist_id}","starred_url":"https://api.github.com/users/SimonGoring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimonGoring/subscriptions","organizations_url":"https://api.github.com/users/SimonGoring/orgs","repos_url":"https://api.github.com/users/SimonGoring/repos","events_url":"https://api.github.com/users/SimonGoring/events{/privacy}","received_events_url":"https://api.github.com/users/SimonGoring/received_events","type":"User","site_admin":false},"created_at":"2015-07-15T01:19:10Z","updated_at":"2015-07-15T01:19:10Z","body":"Yeah, that's a bug.  I'm not sure why it's happened all of a sudden, although I suspect it comes from differences in the API between different data set types.  I need to double check, but I thought I tried to fix this by using explicit calls to the column names.  The problem is clearly that `dataset.id` is getting the wrong information, and then everything is shifted over.  I'll try to fix this ASAP."}}