pullWSAS: Pull down assessment data

Description Usage Arguments Details Value

View source: R/dataExtract.R

Description

Pull down assessment data

Usage

1
pullWSAS(cohortYear, grade, conn)

Arguments

cohortYear

a character string of the format YYYY-YYYY

grade

a character representing the grade level in the format 10 or 0X

conn

a connection object with the data connections necessary to access the database

Details

This function is meant to pull a single year and single grade of assessment data for students and to do the necessary data cleaning and reshaping to create data with a single row per student per year per grade and with columns representing assessment results on mathematics and reading. This function is called as part of a larger function which assembles all data on a cohort for processing in a model search.

Value

Returns a data.frame with student assessment data and merge keys


jknowles/ModelEWS documentation built on May 19, 2019, 11:42 a.m.