get.lang: Show Default Label Language

View source: R/tools.R

get.langR Documentation

Show Default Label Language

Description

Displays informations about the defined label languages.

Usage

get.lang(dat, print = T)

Arguments

dat

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

print

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

Details

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

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

Author(s)

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

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


readstata13 documentation built on March 7, 2023, 6:12 p.m.