Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

keyTemplateSPSS

Import an SPSS file, create a key representing the numeric -> factor transition


Description

This is a way to keep track of the scores that are used in the SPSS file. It is also an easy way to start a new variable key that makes it convenient to work on the value_new column with R text functions.

Usage

keyTemplateSPSS(dat, long = TRUE)

Arguments

dat

A character string path to the SPSS file

long

TRUE returns a long key, otherwise a wide key

Value

A variable key (long or wide)

Author(s)

Paul Johnson <pauljohn@ku.edu>


kutils

Project Management Tools

v1.70
GPL-2
Authors
Paul Johnson [aut, cre], Benjamin Kite [aut], Charles Redmon [aut], Jared Harpole [ctb], Kenna Whitley [ctb], Po-Yi Chen [ctb], Shadi Pirhosseinloo [ctb]
Initial release
2020-04-28

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.