Whether each school of the standard districts has an attendance zone on the platform and, if not, why: a magnet or charter school with no zone, a district whose maps are not published yet, and so on. Answers "why doesn't this school have a zone?" without inferring it from a missing polygon.
Usage
gcd_school_zone_status(
district_code = NULL,
school_code = NULL,
district = NULL,
school = NULL,
zone_status = NULL,
no_zone_category = NULL
)Arguments
- district_code, school_code
Character vectors of codes. Default
NULL.- district, school
Names, matched to codes as in
gcd_rows(). A school name found in more than one district needsdistricttoo. DefaultNULL.- zone_status
"zoned","no_zone"and/or"not_yet_collected". DefaultNULL: all.- no_zone_category
Why a school has no zone (the API's categories, listed by
gcd_describe()with"school_attendance_zones"). DefaultNULL: all.
Value
A tibble, one row per school, with columns year (integer),
district_code, district_name, school_code, school_name,
zone_status, zone_levels (the levels it is zoned for, as one
string), no_zone_category and reason. The API's note on reading
the table is the note attribute.
See also
gcd_school_zones() for the zones; gcd_school_zone_coverage()
for each district's coverage.
Other geography:
gcd_district_boundaries(),
gcd_locate(),
gcd_school_zone_coverage(),
gcd_school_zones()