{"action":"created","issue":{"url":"https://api.github.com/repos/strengejacke/sjPlot/issues/337","repository_url":"https://api.github.com/repos/strengejacke/sjPlot","labels_url":"https://api.github.com/repos/strengejacke/sjPlot/issues/337/labels{/name}","comments_url":"https://api.github.com/repos/strengejacke/sjPlot/issues/337/comments","events_url":"https://api.github.com/repos/strengejacke/sjPlot/issues/337/events","html_url":"https://github.com/strengejacke/sjPlot/issues/337","id":302625721,"number":337,"title":"Table to word with variables","user":{"login":"jjp27","id":37104228,"avatar_url":"https://avatars0.githubusercontent.com/u/37104228?v=4","gravatar_id":"","url":"https://api.github.com/users/jjp27","html_url":"https://github.com/jjp27","followers_url":"https://api.github.com/users/jjp27/followers","following_url":"https://api.github.com/users/jjp27/following{/other_user}","gists_url":"https://api.github.com/users/jjp27/gists{/gist_id}","starred_url":"https://api.github.com/users/jjp27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjp27/subscriptions","organizations_url":"https://api.github.com/users/jjp27/orgs","repos_url":"https://api.github.com/users/jjp27/repos","events_url":"https://api.github.com/users/jjp27/events{/privacy}","received_events_url":"https://api.github.com/users/jjp27/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-06T09:34:40Z","updated_at":"2018-03-07T14:02:03Z","closed_at":null,"author_association":"NONE","body":"Hi there,\r\n\r\nI am trying to print a frequency table to Microsoft Word using sjPlot.\r\n\r\nWhen I use print(freqsums), I get the table with a column describing the data (in my case the country name). However, when using sjPlot::tab_df(freqsums) I am not getting the column that shows the country name. Could you possibly tell me how to show the country name in the first column and not only the corresponding frequencies?\r\n\r\nBest"},"comment":{"url":"https://api.github.com/repos/strengejacke/sjPlot/issues/comments/371147111","html_url":"https://github.com/strengejacke/sjPlot/issues/337#issuecomment-371147111","issue_url":"https://api.github.com/repos/strengejacke/sjPlot/issues/337","id":371147111,"user":{"login":"strengejacke","id":26301769,"avatar_url":"https://avatars3.githubusercontent.com/u/26301769?v=4","gravatar_id":"","url":"https://api.github.com/users/strengejacke","html_url":"https://github.com/strengejacke","followers_url":"https://api.github.com/users/strengejacke/followers","following_url":"https://api.github.com/users/strengejacke/following{/other_user}","gists_url":"https://api.github.com/users/strengejacke/gists{/gist_id}","starred_url":"https://api.github.com/users/strengejacke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strengejacke/subscriptions","organizations_url":"https://api.github.com/users/strengejacke/orgs","repos_url":"https://api.github.com/users/strengejacke/repos","events_url":"https://api.github.com/users/strengejacke/events{/privacy}","received_events_url":"https://api.github.com/users/strengejacke/received_events","type":"User","site_admin":false},"created_at":"2018-03-07T14:02:03Z","updated_at":"2018-03-07T14:02:03Z","author_association":"OWNER","body":"If I have a data frame with two columns, everything is correctly shown:\r\n\r\n```\r\ndata(iris)\r\nlibrary(dplyr)\r\nlibrary(sjPlot)\r\niris %>% group_by(Species) %>% summarise(counts = n()) %>% tab_df()\r\n```\r\n\r\nI'm still not sure what is not working correctly. Perhaps it's helpful to post a minimal reproducible example, and probably the desired output?"}}
{"actor":{"display_login":"strengejacke"}}