timssg8.select.merge: Select and merge data

Description Usage Arguments Value See Also Examples

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

Description

timssg8.select.merge selects and merges data from TIMSS G8.

Usage

1
2
timssg8.select.merge(folder = getwd(), countries, student = c(), school, 
math.teacher, science.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.

school

The data labels for the selected school variables.

math.teacher

The data labels for the selected math teacher variables.

science.teacher

The data labels for the selected science teacher variables.

Value

timssg8.select.merge returns a data frame with the selected data from TIMSS G8.

See Also

timssg4.select.merge, pirls.select.merge, pisa.select.merge

Examples

1
2
3
4
5
6
7
## Not run: 
timss8g <- timssg8.select.merge(folder=getwd(),
                                 countries=c("AUS", "BHR", "ARM", "CHL"),
                                 student =c("BSDGEDUP", "ITSEX", "BSDAGE", "BSBGSLM", "BSDGSLM"), 
                                 school =c("BCBGDAS", "BCDG03"))

## End(Not run)

dickli/intsvy2 documentation built on Sept. 8, 2020, 12:05 a.m.