readstata13 (version 0.9.2)

get.label.tables: 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 read.dta13.

Value

Returns a named list of label tables

Details

This function returns the factor levels which represent a Stata label set for all variables.

Examples

Run this code
# NOT RUN {
dat <- read.dta13(system.file("extdata/statacar.dta", package="readstata13"))
get.label.tables(dat)
# }

Run the code above in your browser using DataLab