sr_ccd_directory: Get CCD directory of a school or district.

View source: R/utils-educationdata-district.R

sr_ccd_directoryR Documentation

Get CCD directory of a school or district.

Description

Returns the directory of a school or district for a single year, from the Common Core of Data data set. In the Education Data API, this returns the "directory" topic from the "ccd" source. Can return the information from multiple schools or districts by supplying a vector of numbers to nces_num.

Usage

sr_ccd_directory(org_level, nces_num, year)

Arguments

org_level

The level to return the results. This is the 'level' parameter in the API. One of either 'schools' or 'school-district'

nces_num

The school's LEAID number or NCES number, as a string. Can use multiple schools or districts by combining all numbers in a vector.

year

The years from which you want to retrieve data. No data will be returned if data is not available for the year.

Value

A data set with the district directory.


shanejorr/schoolreportr documentation built on Aug. 7, 2023, 12:25 p.m.