selectVariables: Variable selection dialog box.

Description Usage Arguments Value

Description

This function provides a dialog box for selecting variables to read from the NAEP database. Returns a vector of variable names.

Usage

1
2
3
  selectVariables(year = NULL, grade = NULL,
    subject = NULL, directory = getBaseDirectory(),
    sample = c("AT", "PM"), type = c("Student", "School"))

Arguments

year

the year of the NAEP data.

grade

the grade to read.

subject

the subject to read (e.g. Math, Read)

directory

the root directory of the NAEP data disc.

sample

either AT or PM.

type

the type of data to read (i.e. Student or School)

Value

a character vector with selected variables.


jbryer/naep documentation built on May 18, 2019, 7:02 p.m.