{"action":"created","issue":{"url":"https://api.github.com/repos/tidyverse/haven/issues/314","repository_url":"https://api.github.com/repos/tidyverse/haven","labels_url":"https://api.github.com/repos/tidyverse/haven/issues/314/labels{/name}","comments_url":"https://api.github.com/repos/tidyverse/haven/issues/314/comments","events_url":"https://api.github.com/repos/tidyverse/haven/issues/314/events","html_url":"https://github.com/tidyverse/haven/issues/314","id":259627844,"number":314,"title":"read_xpt not accessing variable labels","user":{"login":"dennisfisher","id":7515217,"avatar_url":"https://avatars3.githubusercontent.com/u/7515217?v=4","gravatar_id":"","url":"https://api.github.com/users/dennisfisher","html_url":"https://github.com/dennisfisher","followers_url":"https://api.github.com/users/dennisfisher/followers","following_url":"https://api.github.com/users/dennisfisher/following{/other_user}","gists_url":"https://api.github.com/users/dennisfisher/gists{/gist_id}","starred_url":"https://api.github.com/users/dennisfisher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dennisfisher/subscriptions","organizations_url":"https://api.github.com/users/dennisfisher/orgs","repos_url":"https://api.github.com/users/dennisfisher/repos","events_url":"https://api.github.com/users/dennisfisher/events{/privacy}","received_events_url":"https://api.github.com/users/dennisfisher/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-21T20:49:00Z","updated_at":"2017-10-06T09:16:16Z","closed_at":null,"author_association":"NONE","body":"I have two SAS outputs containing the identical data: one in sas7bdat format, the other in XPT format.\r\nWhen I read them using haven (1.1.0) in either RStudio or in a terminal window (R 3.4.1, OS X), the variable labels can be accessed from the sas7bdat version but not from the XPT version.  According to the man pages:\r\n\r\n     Variable labels are stored in the \"label\" attribute of each\r\n     variable.  It is not printed on the console, but the RStudio\r\n     viewer will show it.\r\n\r\nbut that does not appear to be the case.  \r\nThe XPT file does appear to contain the labels (grep returns \r\n\tBinary file /Users/fisher/Desktop/spdata.xpt matches\r\n\r\nAny thoughts?  Are you sure that the read_xpt code actually manages labels?"},"comment":{"url":"https://api.github.com/repos/tidyverse/haven/issues/comments/334702816","html_url":"https://github.com/tidyverse/haven/issues/314#issuecomment-334702816","issue_url":"https://api.github.com/repos/tidyverse/haven/issues/314","id":334702816,"user":{"login":"evanmiller","id":134711,"avatar_url":"https://avatars1.githubusercontent.com/u/134711?v=4","gravatar_id":"","url":"https://api.github.com/users/evanmiller","html_url":"https://github.com/evanmiller","followers_url":"https://api.github.com/users/evanmiller/followers","following_url":"https://api.github.com/users/evanmiller/following{/other_user}","gists_url":"https://api.github.com/users/evanmiller/gists{/gist_id}","starred_url":"https://api.github.com/users/evanmiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evanmiller/subscriptions","organizations_url":"https://api.github.com/users/evanmiller/orgs","repos_url":"https://api.github.com/users/evanmiller/repos","events_url":"https://api.github.com/users/evanmiller/events{/privacy}","received_events_url":"https://api.github.com/users/evanmiller/received_events","type":"User","site_admin":false},"created_at":"2017-10-06T09:16:16Z","updated_at":"2017-10-06T09:16:16Z","author_association":"CONTRIBUTOR","body":"Hi @dennisfisher, if you can provide an example file I will take a look."}}
{"actor":{"display_login":"evanmiller"}}