| import_DF | R Documentation |
data.frameFunction to import a data.frame object for use in eatGADS while extracting value labels from factors.
import_DF(df, checkVarNames = TRUE)
df |
A |
checkVarNames |
Should variable names be checked for violations of |
Factors are integers with labeled variable levels. import_DF extracts these labels and stores them in a separate meta data data.frame.
See import_spss for detailed information.
Returns a list with the actual data dat and a data frame with all meta information in long format labels.
dat <- import_DF(iris, checkVarNames = FALSE)
# Inspect Meta data
extractMeta(dat)
# Extract Data
dat <- extractData(dat, convertLabels = "character")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.