Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

get.lang

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


readstata13

Import 'Stata' Data Files

v0.10.0
GPL-2 | file LICENSE
Authors
Jan Marvin Garbuszus [aut], Sebastian Jeworutzki [aut, cre] (<https://orcid.org/0000-0002-2671-5253>), R Core Team [cph], Magnus Thor Torfason [ctb], Luke M. Olson [ctb], Giovanni Righi [ctb], Kevin Jin [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.