View source: R/import_tibble.R
import_tibble | R Documentation |
tibble
Function to import a tibble
while extracting meta information, e.g. variable and value labels.
import_tibble(
tibble,
checkVarNames = TRUE,
labeledStrings = c("drop", "keep", "transform")
)
tibble |
A |
checkVarNames |
Should variable names be checked for violations of |
labeledStrings |
Should strings as labeled values be allowed? If |
Tibbles
may store variable and value labels as well as missing tags via the labelled
class. import_tibble
restructures this meta information separately in a long format data.frame
. Value labels and missing tags are used
to identify missing tags (see checkMissings
). Time and date variables are converted to character.
Returns a list with the actual data dat
and a data frame with all meta information in long format labels
.
# Use spss data from within package
spss_path <- system.file("extdata", "pisa.zsav", package = "eatGADS")
pisa_gads <- import_spss(spss_path)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.