Year-by-year comparison of infrastructure programs across Budget and NEP databases
Impact: Despite schema differences, the NEP integration is successful because adapted queries handle the column mapping differences transparently.
6 Years
2020-2025 shared between databases
8 Columns
Budget: 24 cols, NEP: 16 cols
Adapted
bigint → varchar for UACS codes
| Aspect | Budget Database | NEP Database | Adaptation |
|---|---|---|---|
| Primary Key | id (integer) |
id (integer) |
✓ Identical |
| Amount Field | amt (numeric) |
amount (numeric) |
→ Column name change |
| Description | dsc (text) |
description (text) |
→ Column name change |
| Fiscal Year | year (integer) |
fiscal_year (varchar) |
→ Name + type change |
| Department Code | department (bigint) |
org_uacs_code (varchar) |
→ Name + type change |
| Agency Code | agency (bigint) |
region_code (varchar) |
→ Name + type change |
| Sort Order | sorder (bigint) |
sort_order (bigint) |
→ Column name change |
| Total Columns | 24 columns | 16 columns | → Schema reduction |
amt → amount)
Conclusion: Despite fundamental schema differences, the NEP integration provides users with the same powerful analysis capabilities through transparent query adaptations.