{
 "metadata": {
  "source": "CT Office of Policy and Management — Municipal Fiscal Indicators, Uniform Chart of Accounts",
  "dataset_id": "e2qt-k238",
  "dataset_name": "Municipal Fiscal Indicators: Uniform Chart of Accounts, 2020-2023",
  "landing_page": "https://data.ct.gov/d/e2qt-k238",
  "source_url": "https://data.ct.gov/resource/e2qt-k238.json",
  "pulled": "2026-08-25",
  "dataset_last_updated": "2026-03-03",
  "recipe": "python Data/fetch_ct_ucoa.py (Python 3, standard library, no API key)",
  "row_count_source": 17632,
  "fiscal_year_note": "OPM year Y = the fiscal year ending June 30 of year Y. 2023 = FY 2022-23.",
  "basis_note": "Audited actual expenditures cross-walked to the state Uniform Chart of Accounts, split into salaries/wages, employee benefits, and all other costs. Same basis as ct_ucoa_town_indicators.json — actuals across funds, not the adopted budget.",
  "structure_note": "`function_totals` holds each town's function-level subtotal rows (the source's '<Function> Total' and 'Total Expenditures' rows), so figures are not double counted. `target_departments` holds every row the source publishes for Ashford, including department detail.",
  "town_scope_note": "`function_totals` covers Ashford and its hand-built peer groups only, to keep the browser download small. All 170 entities are in Data/ct_ucoa/mfi_ucoa_by_function_2020-2023.csv.",
  "gap_note": "The source omits some town-years entirely; those years are absent rather than zero. Missing for Ashford: none.",
  "merge_note": "`function_totals` is not in this file. It is statewide and identical for every town, so it is published once at /data/ct_ucoa_function_totals.json and merged onto this payload at runtime by TownCharts.load(). `target_departments` below is this town's own department detail and appears nowhere else."
 },
 "target": "Ashford",
 "years": [
  "2020",
  "2021",
  "2022",
  "2023"
 ],
 "fiscal_years": [
  "19-20",
  "20-21",
  "21-22",
  "22-23"
 ],
 "target_departments": {
  "2020": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 565745,
    "benefits": 401726,
    "other": 417948,
    "total": 1385419
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 565745,
    "benefits": 401726,
    "other": 417948,
    "total": 1385419
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 14050,
    "benefits": 23349,
    "other": 239260,
    "total": 276659
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 14050,
    "benefits": 23349,
    "other": 239260,
    "total": 276659
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 429181,
    "benefits": 0,
    "other": 468457,
    "total": 897638
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 358133,
    "benefits": 0,
    "other": 236209,
    "total": 594342
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 71048,
    "benefits": 0,
    "other": 232248,
    "total": 303296
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 5922,
    "benefits": 0,
    "other": 44668,
    "total": 50590
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 5922,
    "benefits": 0,
    "other": 44668,
    "total": 50590
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 113422,
    "benefits": 18608,
    "other": 99653,
    "total": 231683
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 113422,
    "benefits": 18608,
    "other": 99653,
    "total": 231683
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 5343042,
    "benefits": 383457,
    "other": 6954259,
    "total": 12680758
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 5343042,
    "benefits": 383457,
    "other": 3279286,
    "total": 9005785
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": null,
    "benefits": null,
    "other": 3674973,
    "total": 3674973
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": null,
    "benefits": null,
    "other": 258650,
    "total": 258650
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 258650,
    "total": 258650
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 0,
    "total": 0
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 0,
    "total": 0
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 6471362,
    "benefits": 827140,
    "other": 8482895,
    "total": 15781397
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 662977,
    "benefits": 431817,
    "other": 389287,
    "total": 1484081
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 662977,
    "benefits": 431817,
    "other": 389287,
    "total": 1484081
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 14050,
    "benefits": 0,
    "other": 340512,
    "total": 354562
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 14050,
    "benefits": 0,
    "other": 340512,
    "total": 354562
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 368029,
    "benefits": 2,
    "other": 624601,
    "total": 992632
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 307796,
    "benefits": 2,
    "other": 388337,
    "total": 696135
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 60233,
    "benefits": 0,
    "other": 236264,
    "total": 296497
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 0,
    "benefits": 0,
    "other": 49303,
    "total": 49303
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 49303,
    "total": 49303
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 69009,
    "benefits": 20026,
    "other": 105221,
    "total": 194256
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 69009,
    "benefits": 20026,
    "other": 105221,
    "total": 194256
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 4753728,
    "benefits": 2495218,
    "other": 5506427,
    "total": 12755373
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 4753728,
    "benefits": 2495218,
    "other": 1604895,
    "total": 8853841
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": null,
    "benefits": null,
    "other": 3901532,
    "total": 3901532
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": null,
    "benefits": null,
    "other": 250775,
    "total": 250775
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 250775,
    "total": 250775
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 0,
    "total": 0
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 0,
    "total": 0
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 5867793,
    "benefits": 2947063,
    "other": 7266126,
    "total": 16080982
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 600223,
    "benefits": 471721,
    "other": 481794,
    "total": 1553738
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 600223,
    "benefits": 471721,
    "other": 481794,
    "total": 1553738
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 14050,
    "benefits": 0,
    "other": 336890,
    "total": 350940
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 14050,
    "benefits": 0,
    "other": 323284,
    "total": 337334
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 13606,
    "total": 13606
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 480106,
    "benefits": 0,
    "other": 535946,
    "total": 1016052
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 411905,
    "benefits": 0,
    "other": 299660,
    "total": 711565
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 68201,
    "benefits": 0,
    "other": 236286,
    "total": 304487
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 6384,
    "benefits": 0,
    "other": 45415,
    "total": 51799
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 6384,
    "benefits": 0,
    "other": 45415,
    "total": 51799
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 101175,
    "benefits": 14681,
    "other": 55791,
    "total": 171647
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 101175,
    "benefits": 14681,
    "other": 55791,
    "total": 171647
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 5008683,
    "benefits": 2284831,
    "other": 5430651,
    "total": 12724165
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 5008683,
    "benefits": 2284831,
    "other": 1919179,
    "total": 9212693
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": 0,
    "benefits": 0,
    "other": 3511472,
    "total": 3511472
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": 0,
    "benefits": 0,
    "other": 250706,
    "total": 250706
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 250706,
    "total": 250706
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 32223,
    "total": 32223
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 32223,
    "total": 32223
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 6210621,
    "benefits": 2771233,
    "other": 7169416,
    "total": 16151270
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 510054,
    "benefits": 466572,
    "other": 552780,
    "total": 1529406
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 510054,
    "benefits": 466572,
    "other": 552780,
    "total": 1529406
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 54160,
    "benefits": 0,
    "other": 348748,
    "total": 402908
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 14050,
    "benefits": 0,
    "other": 311086,
    "total": 325136
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 40110,
    "benefits": 0,
    "other": 37662,
    "total": 77772
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 479143,
    "benefits": 0,
    "other": 539923,
    "total": 1019066
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 406157,
    "benefits": 0,
    "other": 287808,
    "total": 693965
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 72986,
    "benefits": 0,
    "other": 252115,
    "total": 325101
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 8076,
    "benefits": 0,
    "other": 44946,
    "total": 53022
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 8076,
    "benefits": 0,
    "other": 44946,
    "total": 53022
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 0,
    "benefits": 0,
    "other": 159486,
    "total": 159486
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 159486,
    "total": 159486
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 4831810,
    "benefits": 1832262,
    "other": 6614322,
    "total": 13278394
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 4831810,
    "benefits": 1832262,
    "other": 3111782,
    "total": 9775854
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": 0,
    "benefits": 0,
    "other": 3502540,
    "total": 3502540
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": 0,
    "benefits": 0,
    "other": 250898,
    "total": 250898
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 250898,
    "total": 250898
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 5883243,
    "benefits": 2298834,
    "other": 8511103,
    "total": 16693180
   }
  ]
 }
}