pullCohort: Create a cohort set of students with full data

Description Usage Arguments Details Value

Description

Create a cohort set of students with full data

Usage

1
pullCohort(cohortYear, grade, conn, type = "train")

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 calls pullDemog, pullWSAS, pullDiscipline, pullMobility and combines the results based on the unique student key to create a single student-year-grade record which includes all of the information on a student by row including assessment scores, attendance, demographics, mobility, and discipline results. Returns incomplete records for students missing data in any element, but uses the results of pullDemog as the full list of students.

Value

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


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