convertLabel
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.
import_convertLabel(df, checkVarNames = TRUE)
Returns a list with the actual data dat
and a data frame with all meta information in long format labels
.
A data.frame
.
Should variable names be checked for violations of SQLite
and R
naming rules?
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.