import_convertLabel {eatGADS} | R Documentation |
Import an object imported via convertLabel
Description
Function to import a data.frame
object created by convertLabel
for use in eatGADS
. If possible, importing data via import_spss
should always be preferred.
Usage
import_convertLabel(df, checkVarNames = TRUE)
Arguments
df |
A |
checkVarNames |
Should variable names be checked for violations of |
Details
convertLabel
from R
package eatAnalysis
converts an object imported via read.spss
(from the foreign
package) to a data.frame
with factors and variable labels stored in variable attributes.
Value
Returns a list with the actual data dat
and a data frame with all meta information in long format labels
.
[Package eatGADS version 1.1.0 Index]