clean_nwea_tp: Clean NWEA data exported from ETO ("[Admin]...

Description Usage Arguments Value Examples

Description

Clean NWEA data exported from ETO ("[Admin] raw_touchpoint_report_detailed")

Usage

1
2
3
4
5
6
clean_nwea_tp(df, expected_columns = c("subject_id", "name", "tp_name",
  "date", "question_id", "question", "question_short", "answer_id", "answer",
  "answer_weight", "program_name", "program_id"),
  kept_columns = c("subject_id", "name", "date", "question_short",
  "answer_id", "answer"), expected_terms = c("fall", "winter", "spring"),
  score_min = 100, score_max = 300)

Arguments

df

dataframe: NWEA data exported from ETO

expected_columns

character vector: Expected column names for df

kept_columns

character vector: Column names from df to keep

expected_terms

character vector: Expected valid value for the "term" column in df

score_min

numeric: minimum accepted value for the "rit" column

score_max

numeric: maximum accepted value for the "rit" column

Value

dataframe

Examples

1
2
nwea <- load_txt("./path/to/nwea_scores.txt")
nwea <- clean_nwea_tp(df = nwea)

thelayc/laycca documentation built on May 31, 2019, 9:48 a.m.