Description Usage Arguments Value Author(s) See Also Examples
A function to import SPSS ® style labels and attach them to a dataset in R. Formatting instructions can be found in the PDF provided in the "See Also" section.
1 | import_labels(dataset, definitions)
|
dataset |
= path of the file containing the raw data (i.e. 1, and 0's not "YES" and "NO"). The file format currently accepted is .csv and .txt |
definitions |
= path of the file containing definitions. The format of this file is shown below in table 1. File must be a .txt. |
Returns dataset with attached labels
Jordan L. Prendez, jordanprendez@gmail.com
https://github.com/nietsnel/inst.research/blob/master/import_labels_example1.pdf
1 2 3 | import_labels(dataset="C:/Users/jprendez/Desktop/ic2015.csv", definitions="C:/Users/jprendez/Desktop/definitions.txt")
import_labels()
Note:SPSS® is a registered trademarks of IBM in the United States.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.