summarize_by_state
Aggregate municipal development costs by US state to identify cheap or expensive building markets. Compare total or water-sewer costs across states with national benchmarks.
Instructions
Roll the entire covered dataset up to the STATE tier: for every US state we hold real city schedules in, get the number of cities covered, the min / median / max municipal development cost across them, the cheapest and priciest city, and which fee categories the state's cities assess. Plus a national roll-up (cheapest / priciest city anywhere, national median). This is the state-level site-selection map a developer scans before drilling into cities — 'which states are cheap or expensive to build in, and how many of my candidate markets do you actually cover?'. Rank on water+sewer only or on the GRAND TOTAL across every fee category. Computable only over the full normalized cross-jurisdiction dataset, and it sharpens as coverage grows. Optionally pass 'basis' ('total' default, or 'water_sewer'), 'dev_type', 'meter_size'. PREMIUM: pay per call with x402 (USDC on Base) or set a prepaid key (MUNI_DEV_COST_KEY).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| basis | No | 'total' (grand total across all fee categories, default) or 'water_sewer' (water+sewer only). | |
| dev_type | No | Development type (default single_family). | |
| meter_size | No | Water meter size for per-meter-table jurisdictions (default 5/8"). |