best_avail_sgp_df: Build a composite data frame of 'best available' SGP

Description Usage Arguments Details Value

Description

best_avail_sgp_df returns a data frame with one sgp per student, using the growth period preferences provided.

Usage

1
2
best_avail_sgp_df(df, prefer_period = "Spring to Spring",
  backup_period_1 = "Fall to Spring", backup_period_2 = "Winter to Spring")

Arguments

df

a data frame of SGPs. TODO: define structure

prefer_period

Name of the top growth term to use. Default is 'Spring to Spring'.

backup_period_1

First backup. Default is 'Fall to Spring'.

backup_period_2

Second backup. Default is 'Winter to Spring'.

Details

Default growth period is Spring to Spring, default backup is Fall to Spring. ie, pull a full year's growth for most kids; fall back to fall-to-spring for new kids (ie K)

Value

a data frame of SGPs


almartin82/MAP-visuals documentation built on May 10, 2019, 9:24 a.m.