get.label.tables {readstata13} | R Documentation |
Get all Stata Label Sets for a Data.frame
Description
Retrieve the value labels for all variables.
Usage
get.label.tables(dat)
Arguments
dat |
data.frame. Data.frame created by |
Details
This function returns the factor levels which represent a Stata label set for all variables.
Value
Returns a named list of label tables
Author(s)
Jan Marvin Garbuszus jan.garbuszus@ruhr-uni-bochum.de
Sebastian Jeworutzki sebastian.jeworutzki@ruhr-uni-bochum.de
Examples
dat <- read.dta13(system.file("extdata/statacar.dta", package="readstata13"))
get.label.tables(dat)
[Package readstata13 version 0.10.1 Index]