Description Usage Arguments Details Value Examples
term_split2 returns a data frame splitting a TermName
| 1 | term_split2(term_name, grade = NULL)
 | 
| term_name | character vector of term names from NWEA CDF. | 
| grade | (optional, default =  | 
This function returns a data framre with length(x) rows that separates a TermName character
vector into the following components (here we use "Spring 2012-2013" as en example
element of the vector:
Season ("Spring"),
Year1 (2012),
Year2 (2013),
SY (i.e School Year, "2013-2014").
In addition, if a length(x) vector of grade levels is passed to the optional second argument
then an additional column will be added to the data frame:
CohortYear (HS graduation year based on grade and year2, so an 7th grader in spring 2013 would be in the class of 2018).
a data frame  of with length(x) rows and 4 (5 if grade vector supplied) columns
| 1 2 3 4 5 6 7 8 9 | x<-c("Spring 2012-2013",
"Fall 2013-2014",
     "Winter 2012-2013",
     "Fall 2012-2013" ,
     "Spring 2013-2014")
grades<-c(3:7)
term_split2(term_name=x,
            grade=grades )
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.