usas_disaster_spending
Query disaster fund obligations or outlays by state, county, or congressional district, filtered by emergency fund codes (e.g., COVID-19, IIJA). Includes per capita amounts.
Instructions
Disaster / emergency-fund spending BY GEOGRAPHY — obligations or outlays tagged to one or more Disaster Emergency Fund Codes (DEFC: COVID-19, IIJA, etc.), broken out per state / county / congressional district (keyless USAspending disaster/spending_by_geography). Answers 'which geographies captured COVID/IIJA relief money' — a distinct axis the standard award search does not expose. defCodes REQUIRED (discover via usas_list_disaster_codes); spendingType obligation (default) | outlay; geoLayer state (default) | county | district. Each row: name, code, amount, awardCount, population, perCapita. HONESTY: amount/perCapita are number|null (a real 0 stays 0 — some DEFCs like IIJA report $0 OBLIGATIONS with a nonzero awardCount, disclosed in a note; absent → null, never a fabricated 0); the endpoint returns the COMPLETE set of geo units (no pagination) so totalAvailable = returned; an outage/4xx THROWS (never a fake empty).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| defCodes | Yes | Disaster Emergency Fund Codes (DEFC) to include — REQUIRED. e.g. ['L','M'] (COVID-19 relief) or ['1'] (IIJA / infrastructure). Discover the full code set via usas_list_disaster_codes. | |
| geoLayer | No | Geographic breakout: state (default), county, or congressional district. | |
| spendingType | No | obligation (default) or outlay. Some DEFCs report $0 obligations but real outlays — try both. |