get_items: Function to pull item level data with student demographics...

View source: R/processors.R

get_itemsR Documentation

Function to pull item level data with student demographics from the live ORExt database

Description

Function to pull item level data with student demographics from the live ORExt database

Usage

get_items(grade = NULL, content = NULL, demographics = TRUE, db = NULL)

Arguments

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).

demographics

Logical, defaults to TRUE. Should student demographics be returned with the item-level data.

db

Database to call

Value

If both grade and content are both NULL, a list of all grade/content areas. If one or the other is supplied, a list with only the specific grade/content area. If both grade and content are supplied, a single data frame for that grade/content area is returned.


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