pirls.select.merge: Select and merge data

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

pirls.select.mergeR Documentation

Select and merge data

Description

pirls.select.merge selects and merges data from PIRLS. Achievement and weight variabels (all of them) are selected by default.

Usage

pirls.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 data.

Value

pirls.select.merge returns a data frame with the selected data from PIRLS.

See Also

timssg4.select.merge, timssg8.select.merge, pisa.select.merge

Examples

## Not run: 
pirls <- pirls.select.merge(folder= getwd(),
                countries= c(36, 40, 31, 957),
                student= c("ITSEX", "ASDAGE", "ASBGSMR"),
                home= c("ASDHEDUP", "ASDHOCCP", "ASDHELA", "ASBHELA"),
                school= c("ACDGDAS", "ACDGCMP", "ACDG03"))

## End(Not run)

intsvy documentation built on Aug. 6, 2022, 5:06 p.m.