intsvy.var.label: Data labels

View source: R/intsvy.var.label.R

intsvy.var.labelR Documentation

Data labels

Description

intsvy.var.labels prints and saves variable labels and names of participating countries in a text file. The function is called by timssg4.var.label, timssg8.var.label, pirls.var.label and pisa.var.label.

Usage

intsvy.var.label(folder = getwd(), name = "Variable labels", output = getwd(),
                 config)

Arguments

folder

Directory path where the data files are located. The data could be organized within folders but duplicated files should be avoided. It is assumed that data is in 'sav' files. For TIMSS, PIRLS and ICILS studies the data can be downloaded from http://rms.iea-dpc.org/.

name

Name of the output file.

output

Folder where the output file is located.

config

Object with configuration of a given study. Should contain the slot 'prefixes' with prefixes of filenames with the student, home, school, and teacher data.

Value

intsvy.var.label returns a list with variable labels for the student, home, school, and teacher data (if applied).

See Also

timssg4.var.label, timssg8.var.label, pirls.var.label, pisa.var.label

Examples

## Not run: 
intsvy.var.label(folder= getwd(), config = pirls_conf)
intsvy.var.label(folder= getwd(), config = timss8_conf)
intsvy.var.label(folder= getwd(), config = icils_conf)
intsvy.var.label(folder= getwd(), config = piaac_conf)

## End(Not run)

intsvy documentation built on Oct. 3, 2023, 1:07 a.m.