timssg4.select.merge: Select and merge data

View source: R/timssg4.select.merge.R

timssg4.select.mergeR Documentation

Select and merge data

Description

timssg4.select.merge selects and merges data from TIMSS G4. Achievement and weight variables (all of them) are selected by default.

Usage

timssg4.select.merge(folder = getwd(), countries, student = c(), home, school, teacher)

Arguments

folder

Directory path where the data are located. The data could be organized within folders but it should not be duplicated.

countries

The selected countries, supplied with the abbreviation (e.g., countries=c("AUT", "BGR") or codes (countries=c(40, 100)). If no countries are selected, all are selected.

student

The data labels for the selected student variables.

home

The data labels for the selected home background variables.

school

The data labels for the selected school variables.

teacher

The data labels for the selected teacher variables.

Value

timssg4.select.merge returns a data frame with the selected data from TIMSS G4.

See Also

timssg8.select.merge, pirls.select.merge, pisa.select.merge

Examples

## Not run: 
timss4g <- timssg4.select.merge(folder=getwd(),
          countries=c("AUS", "BHR", "ARM", "CHL"),
          student =c("ITSEX", "ASDAGE", "ASBGSLM", "ASDGSLM"),
          home = c("ASDHEDUP", "ASDHENA"),
          school =c("ACDG03", "ACDGENS"))

## End(Not run)

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