Imports a manually downloaded cost-per-pupil or state-summary file. Use this to refresh bundled data with a fresh export from the NH DOE financial-reports page.
Examples
if (FALSE) { # \dontrun{
# Download cost-per-pupil-fyYYYY.csv manually from NH DOE, then:
raw <- import_local_finance("~/Downloads/cost-per-pupil-fy2025.csv")
processed <- process_cost_per_pupil(raw, 2025)
# Or a state-summary file
raw_sum <- import_local_finance("~/Downloads/summaryrevexp-2019-2020web.csv")
# Inspect the raw rows to confirm the layout
utils::head(raw, 25)
} # }