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