Learn R Programming

SGP (version 0.7-1.0)

outputSGP: Output student data and SGP results for a variety of purposes

Description

Utility function used to export student data and SGP results for a variety of purposes. Current functionality exports data in wide format for data visualization purposes. See source code for detailed functionality.

Usage

outputSGP(sgp_object,
	state,
        output.type="SchoolView_WIDE",
        baseline.sgps=FALSE,
        outputSGP.years=NULL,
        outputSGP.content_areas=NULL,
        outputSGP.anonymize=FALSE)

Arguments

sgp_object
An object of class SGP containing data to be exported.
state
Acronym for which state is to be used for the lagged projections and growth to standard analyses. Function will try to guess state name from passed sgp_object is missing.
output.type
A character vector indicating what output type is requested. See source code for options.
baseline.sgps
Boolean vector indicating whether to output baseline SGPs for cohorts referenced SGPs.
outputSGP.years
A vector indicating the year to be used for output file construction.
outputSGP.content_areas
A vector indicating the content areas to be used for output file construction.
outputSGP.anonymize
A boolean variable indicating whether to anonymize output files.

Value

  • Function returns an R object with data to be exported per user's desire (e.g., as a pipe delimited file).

See Also

prepareSGP, analyzeSGP, combineSGP, summarizeSGP

Examples

Run this code
outputData <- outputSGP(Demonstration_Data)

Run the code above in your browser using DataLab