readstata13 (version 0.10.1)

get.lang: Show Default Label Language

Description

Displays informations about the defined label languages.

Usage

get.lang(dat, print = T)

Value

Returns a list with two components:

languages:

Vector of label languages used in the dataset

default:

Name of the actual default label language, otherwise NA

Arguments

dat

data.frame. Data.frame created by read.dta13.

print

logical. If TRUE, print available languages and default language.

Author

Jan Marvin Garbuszus jan.garbuszus@ruhr-uni-bochum.de

Sebastian Jeworutzki sebastian.jeworutzki@ruhr-uni-bochum.de

Details

Stata allows to define multiple label sets in different languages. This functions reports the available languages and the selected default language.