Description Usage Arguments Details Value
View source: R/dataTransform.R
Build a pool of training observations for a grade level
1 | buildTrainingPool(grade, conn)
|
grade |
a numeric representing the grade level we are interested in finding training cohorts for |
conn |
a connection string which contains links to databases necessary to extract the data |
This function identifies the number of grade N cohorts which have valid graduation outcomes and then pulls all complete observations from those cohorts using the assembleCohort function. It then stacks all of these cohorts into a single data.frame suitable for transformation and analysis later. At the end it calls cleanTrainingPool to clean up the data and enforce business rules about variable encoding.
a data.frame with all colums generated by assembleCohort and the number of rows equal to the number of students per cohort X the number of cohorts available for a given grade
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.