Skip to contents

Downloads the current official New Hampshire SAU / district / school roster and its personnel from the NH DOE Public Reports system and returns the canonical triple list(entities, roles, meta) defined by directory-contract/v1. Every SAU is an intermediate entity keyed by its SAU number; every district is a district entity keyed by its NH DOE District id (with parent_district_id pointing at its supervising SAU); every school is a school entity keyed by its NH DOE School id. SAU-grain superintendent, assistant-superintendent, and business-official personnel attach to the SAU (intermediate) entity; school-grain administrators (principals etc.) attach to the school entity. If the live NH DOE source cannot be reached, the result is the conforming declared-miss (empty tables, complete meta, source_status = "source_unavailable"), never an error or fabricated data.

Usage

fetch_directory()

Value

A named list with components:

entities

One row per organization (SAU / district / school), canonically sorted.

roles

One row per organization-role assignment (long), canonically sorted.

meta

Self-describing metadata: schema version, sources, id scheme, coverage, counts, and quality.

Examples

if (FALSE) { # \dontrun{
dir <- fetch_directory()
dir$entities
dir$roles
dir$meta$counts
} # }