Description Usage Arguments Details
Read the NAEP database and return a data object.
1 2 3 |
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) |
This function will read data from the NAEP data discs and return a list containing the following:
data a data frame containing the read data.
catalog a data frame containing metadata.
design the design of the complex survey from
svydesign
.
grade the grade level.
subject the subject.
year the year.
repweights a character vector containing the names of the replicate weights.
sample the sample (either AT or PM)
sourceDir the directory where the data was read from.
type the type of data (either student or school).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.