/** * @copyright Sister Software * @license AGPL-3.0 * @author Teffen Ellis, et al. * * `state-hi-schools`: Hawaii DOE public + charter schools CSV consumer. * * The Hawaii State Department of Education publishes a directory of all HIDOE schools and public * charter schools (PCS) as an XLSX workbook (`SchoolList.xlsx`) with two sheets: `HIDOE` (~258 * rows) and `PCS` (~38 rows). Total ~296 rows statewide. Each row carries a school name, * single-line street address, city, ZIP, a numeric `code`, and HI-specific administrative columns * (complex, complex_area, district, island, charter). * * The adapter consumes a flat CSV the operator pre-builds via `fetch-state-hi-schools.ts`, which * concatenates both sheets under one shared header. Column names match the workbook header * verbatim (lower-snake-case: `code`, `name`, `address`, `city`, `zip`, ...). * * Address parsing notes: Hawaii's residential numbering is hyphenated on Oahu (`47-470 Hui Aeko * Place`), Kauai (`2-4035 Kaumualii Hwy`), and elsewhere. The shared HOUSE_NUMBER_PREFIX regex * covers this via its optional `(?:-\d+)?` group. * * The `island` and `district` columns are HIDOE administrative labels (Honolulu, Central, Leeward, * Windward, Hilo, Hawaii, Maui, Kauai) — they are NOT US counties and intentionally are not * surfaced as `subregion`. * * Output: one row per school with `venue` (school name), `(house_number?, street, locality, * region=HI, postcode)`, and a stable `source_id` derived from the school `code`. * * License: stamped `"Public Domain"` per Hawaii state government open-data terms. */ import type { CorpusAdapter } from "@mailwoman/corpus/types"; /** * Registry id for this adapter. Stamped into every row it emits, so a corpus record can be traced back to the dataset * it came from. */ export declare const STATE_HI_SCHOOLS_ADAPTER_ID = "state-hi-schools"; /** * License carried by this source (Public Domain), attached to each row so downstream consumers inherit the terms rather * than having to look them up. */ export declare const STATE_HI_SCHOOLS_DEFAULT_LICENSE = "Public Domain"; export declare function createStateHiSchoolsAdapter(): CorpusAdapter; /** * The configured adapter instance registered with the corpus builder. */ export declare const stateHiSchoolsAdapter: CorpusAdapter; //# sourceMappingURL=adapter.d.ts.map