SGP (version 0.0-8.0)

combineSGP: Combine student data and SGP results

Description

Utility function/exemplar used to merge student long data with results from student growth percentiles and/or student growth projections calculations. Default values of this function are designed to be used following use of other utility functions: prepareSGP and analyzeSGP.

Usage

combineSGP(sgp_object,
	state,
	sgp.percentiles=TRUE,
	sgp.projections.lagged=TRUE)

Arguments

sgp_object
A list containing both Student (from prepareSGP) and SGP (from analyzeSGP) slots.
state
Acronym for which state is to be used for the lagged projections and growth to standard analyses.
sgp.percentiles
A boolean variable indicating whether to combine student growth percentiles.
sgp.projections.lagged
A boolean variable indicating whether to combine lagged projections and calculate catch-up/keep-up values.

Value

  • Function returns a list containing the input long data set in the Student slot as a data.table keyed using VALID_CASE, CONTENT_AREA, YEAR, ID merged with student growth percentiles and/or lagged projection targets and catch up/keep up status.

See Also

prepareSGP, analyzeSGP

Examples

Run this code
## combineSGP is Step 3 of 5 of abcSGP
DEMO_Data <- combineSGP(DEMO_Data, state="DEMO")

Run the code above in your browser using DataCamp Workspace