fetch_enr: gets and processes a NJ enrollment file

fetch_enrR Documentation

gets and processes a NJ enrollment file

Description

fetch_enr is a wrapper around get_raw_enr and process_enr that passes the correct file layout data to each function, given an end_year

Usage

fetch_enr(end_year, tidy = FALSE)

Arguments

end_year

a school year. year is the end of the academic year - eg 2006-07 school year is year '2007'. valid values are 1999-2019.

tidy

if TRUE, takes the unwieldy wide data and normalizes into a long, tidy data frame with limited headers - constants (school/district name and code), subgroup (all the enrollment file subgroups), program/grade and measure (row_total, free lunch, etc).


almartin82/njschooldata documentation built on Nov. 23, 2023, 1:33 a.m.