sav) data files, and so I have not evaluated this process on SAS (. This post discusses general characteristics of labelled data and practical tips for data analysis with labelled data. With R’s haven, labelled, and sjlabelled packages, you can leverage the inherent data labelling structure in these data sets to work interactively with variable and value labels, making it easier to navigate data while also allowing the user to convert metadata to data. dta) data file and want to incorporate the labelled data features into their R workflow. This post is for R users who already have a SPSS (. SAS, SPSS, and Stata have established infrastructures for labelled data, which consists of metadata in the form of variable and value labels. Labelled data traditionally, though not exclusively, arises in survey data. Convert haven_labelled variables to factorsĦ. Convert haven_labelled variables to numericĥ. Here are my most used functions for getting started with labelled data: Purposeģ. The haven, labelled, and sjlabelled packages can be used to effectively work with SPSS, SAS, and Stata data sets in R through implementation of the haven_labelled class, which stores variable and value labels. This post was last updated on to reflect package updates.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |