getNAEPData: Read NAEP data.

Description Usage Arguments Details

Description

Read the NAEP database and return a data object.

Usage

1
2
3
  getNAEPData(year, grade, subject, directory = NULL,
    vars = NULL, 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.

vars

the variables to return. If NULL, the default set will be returned.

sample

either AT or PM.

type

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

Details

This function will read data from the NAEP data discs and return a list containing the following:


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