get.label.tables: Get all Stata Label Sets for a Data.frame

View source: R/tools.R

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

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)

sjewo/readstata13 documentation built on Aug. 25, 2023, 7:45 a.m.