View source: R/utils-educationdata-district.R
sr_ccd_enrollment | R Documentation |
Gets enrollment data of the school or district, by race. Data comes from the CCD and is imported via the Education Data Portal API.
sr_ccd_enrollment(org_level, nces_num, years, grades)
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. |
A data frame with the enrollment data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.