get_pattern_data: Create patterned synthetic data for any (or all) tests...

View source: R/processors.R

get_pattern_dataR Documentation

Create patterned synthetic data for any (or all) tests related to all possible raw scores. Uses operational items only (omits field test).

Description

Create patterned synthetic data for any (or all) tests related to all possible raw scores. Uses operational items only (omits field test).

Usage

get_pattern_data(name = NULL, grade = NULL, content = NULL, db = NULL)

Arguments

name

The name of the test to download (e.g., Science_G5, ELA_G11). If used, subsequent arguments to grade and content are ignored.

grade

Optional argument to return only data from a specific grade. Default is NULL, in which case all grades are returned in a list, where each element of the list is a data frame for the specific test form.

content

Optional argument to return only data from a specific content area. Default is NULL, in which case all content areas are returned in a list, where each element of the list is a data frame for the specific test form. Should be one of "ELA", "Math", or "Science", although case does not matter (e.g., "ela" will also work).

db

The db to get the pattern data from.

Value

Similar to get_test_json, if name or both grade and content are supplied, the patterned data for just that test is returned. Otherwise, patterned data for all tests is returned.The patterned data is synthetic and created such that all possible raw scores are generated. This function is primarily used to create the raw to scale score mapping.


UO-BRT/dbprocess documentation built on Jan. 29, 2023, 8:50 a.m.