Retrieve the value labels for all variables.
get.label.tables(dat)
data.frame. Data.frame created by read.dta13
.
Returns a named list of label tables
This function returns the factor levels which represent a Stata label set for all variables.
dat <- read.dta13(system.file("extdata/statacar.dta", package="readstata13"))
get.label.tables(dat)
#> $id
#> NULL
#>
#> $brand
#> NULL
#>
#> $model
#> NULL
#>
#> $type
#> min Off-Road Roadster City car Family car max
#> -2147483647 1 2 3 4 2147483620
#>
#> $hp
#> NULL
#>
#> $max
#> NULL
#>
#> $mileage
#> NULL
#>
#> $ecar
#> NULL
#>
#> $ldate
#> NULL
#>
#> $ldatecal
#> NULL
#>
#> $modelStrL
#> NULL
#>