sr_ccd_enrollment: Get enrollment data of the school or district.

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

sr_ccd_enrollmentR Documentation

Get enrollment data of the school or district.

Description

Gets enrollment data of the school or district, by race. Data comes from the CCD and is imported via the Education Data Portal API.

Usage

sr_ccd_enrollment(org_level, nces_num, years, grades)

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 district's LEAID number or school's NCES number, as a string.

years

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

grades

The grades to import. Enrollment numbers will combine all grades into one number.

Value

A data frame with the enrollment data.


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