民意調查分析的關鍵流程01:變數編碼
Published by 劉正山,
我們今日將用這個例子進階學習(含復習)資料編碼的流程:
Recoding Variables: https://cran.r-project.org/web/packages/sjmisc/vignettes/recodingvariables.html
再來認識如何用tidyverse的模式進行編碼:
Pipe-friendly workflow with sjPlot, sjmisc and sjstats:
再來看看另一個運用sjmisc於European Social Survey的實例:
此講的補充材料:tidyverse的簡介及cheatsheet
- Simplify Your Code with %>%: http://uc-r.github.io/pipe
- sjmisc cheat sheet: http://strengejacke.de/sjmisc-cheatsheet.pdf
- tidyverse cheat sheet: https://s3.amazonaws.com/assets.datacamp.com/blog_assets/Tidyverse+Cheat+Sheet.pdf
- dplyr overview: https://dplyr.tidyverse.org/
https://cran.r-project.org/web/packages/sjmisc/vignettes/recodingvariables.html