get_test_json: Get the JSON data for any (or all) tests

View source: R/processors.R

get_test_jsonR Documentation

Get the JSON data for any (or all) tests

Description

Get the JSON data for any (or all) tests

Usage

get_test_json(name = NULL, grade = NULL, content = 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).

Value

If name or grade and content are supplied, the json data for just that test is returned. If all are NULL, then a list with the json data for all tests are returned.


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