{
 "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 Orange, including department detail.",
  "town_scope_note": "`function_totals` covers Orange 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 Orange: 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": "Orange",
 "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": 1558248,
    "benefits": 0,
    "other": 1340058,
    "total": 2898306
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1558248,
    "benefits": 0,
    "other": 1340058,
    "total": 2898306
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 4823142,
    "benefits": 0,
    "other": 1045979,
    "total": 5869121
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 4615221,
    "benefits": 0,
    "other": 448203,
    "total": 5063424
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 207921,
    "benefits": 0,
    "other": 244214,
    "total": 452135
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 353562,
    "total": 353562
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 1518710,
    "benefits": 0,
    "other": 2720717,
    "total": 4239427
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1518710,
    "benefits": 0,
    "other": 2720717,
    "total": 4239427
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "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": 821307,
    "benefits": 0,
    "other": 152145,
    "total": 973452
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 486302,
    "benefits": 0,
    "other": 31553,
    "total": 517855
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 335005,
    "benefits": 0,
    "other": 120592,
    "total": 455597
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 991228,
    "benefits": 0,
    "other": 398584,
    "total": 1389812
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 501652,
    "benefits": 0,
    "other": 140963,
    "total": 642615
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 489458,
    "benefits": 0,
    "other": 219999,
    "total": 709457
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 118,
    "benefits": 0,
    "other": 37622,
    "total": 37740
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 0,
    "benefits": 0,
    "other": 50452321,
    "total": 50452321
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 25716247,
    "total": 25716247
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": null,
    "benefits": null,
    "other": 24736074,
    "total": 24736074
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": null,
    "benefits": null,
    "other": 3140533,
    "total": 3140533
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 3140533,
    "total": 3140533
   },
   {
    "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": 6616534,
    "total": 6616534
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 6616534,
    "total": 6616534
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 9712635,
    "benefits": 0,
    "other": 65866871,
    "total": 75579506
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 0,
    "benefits": 0,
    "other": 2504030,
    "total": 2504030
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 0,
    "benefits": 0,
    "other": 2504030,
    "total": 2504030
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 0,
    "benefits": 0,
    "other": 6023511,
    "total": 6023511
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 6023511,
    "total": 6023511
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 0,
    "benefits": 0,
    "other": 4581641,
    "total": 4581641
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "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": 4581641,
    "total": 4581641
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 0,
    "benefits": 0,
    "other": 882142,
    "total": 882142
   },
   {
    "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": 882142,
    "total": 882142
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 0,
    "benefits": 0,
    "other": 1350357,
    "total": 1350357
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "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": 1350357,
    "total": 1350357
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 0,
    "benefits": 0,
    "other": 53092001,
    "total": 53092001
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 28088199,
    "total": 28088199
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": null,
    "benefits": null,
    "other": 25003802,
    "total": 25003802
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": null,
    "benefits": null,
    "other": 3090234,
    "total": 3090234
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 3090234,
    "total": 3090234
   },
   {
    "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": 8155676,
    "total": 8155676
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 8155676,
    "total": 8155676
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 0,
    "benefits": 0,
    "other": 79679592,
    "total": 79679592
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 2023132,
    "benefits": 0,
    "other": 551370,
    "total": 2574502
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 2023132,
    "benefits": 0,
    "other": 551370,
    "total": 2574502
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 4890940,
    "benefits": 0,
    "other": 1187189,
    "total": 6078129
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 4658922,
    "benefits": 0,
    "other": 660872,
    "total": 5319794
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 232018,
    "benefits": 0,
    "other": 239262,
    "total": 471280
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 287055,
    "total": 287055
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 1341840,
    "benefits": 0,
    "other": 2856237,
    "total": 4198077
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 747805,
    "benefits": 0,
    "other": 554188,
    "total": 1301993
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 181412,
    "benefits": 0,
    "other": 842817,
    "total": 1024229
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 412623,
    "benefits": 0,
    "other": 1459232,
    "total": 1871855
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 669329,
    "benefits": 0,
    "other": 359635,
    "total": 1028964
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 366295,
    "benefits": 0,
    "other": 7102,
    "total": 373397
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 303034,
    "benefits": 0,
    "other": 66546,
    "total": 369580
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 285987,
    "total": 285987
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 1022069,
    "benefits": 0,
    "other": 438487,
    "total": 1460556
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 510416,
    "benefits": 0,
    "other": 149442,
    "total": 659858
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 511434,
    "benefits": 0,
    "other": 236725,
    "total": 748159
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 219,
    "benefits": 0,
    "other": 52320,
    "total": 52539
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 0,
    "benefits": 0,
    "other": 49286736,
    "total": 49286736
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 24050731,
    "total": 24050731
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": 0,
    "benefits": 0,
    "other": 25236005,
    "total": 25236005
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": 0,
    "benefits": 0,
    "other": 3502393,
    "total": 3502393
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 3502393,
    "total": 3502393
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 8732392,
    "total": 8732392
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 8732392,
    "total": 8732392
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 62891,
    "benefits": 8325470,
    "other": 581831,
    "total": 8970192
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 62891,
    "benefits": 8325470,
    "other": 581831,
    "total": 8970192
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 10010201,
    "benefits": 8325470,
    "other": 67496270,
    "total": 85831941
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 1933731,
    "benefits": 0,
    "other": 738286,
    "total": 2672017
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1933731,
    "benefits": 0,
    "other": 738286,
    "total": 2672017
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 5264890,
    "benefits": 0,
    "other": 1266331,
    "total": 6531221
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 5011633,
    "benefits": 0,
    "other": 592350,
    "total": 5603983
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 245457,
    "benefits": 0,
    "other": 299546,
    "total": 545003
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 7800,
    "benefits": 0,
    "other": 374435,
    "total": 382235
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 1363608,
    "benefits": 0,
    "other": 3438389,
    "total": 4801997
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1163964,
    "benefits": 0,
    "other": 2427416,
    "total": 3591380
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 199644,
    "benefits": 0,
    "other": 1010973,
    "total": 1210617
   },
   {
    "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": 915101,
    "benefits": 0,
    "other": 169417,
    "total": 1084518
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 571723,
    "benefits": 0,
    "other": 45172,
    "total": 616895
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 343378,
    "benefits": 0,
    "other": 124245,
    "total": 467623
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 1085205,
    "benefits": 0,
    "other": 412868,
    "total": 1498073
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 548561,
    "benefits": 0,
    "other": 153946,
    "total": 702507
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 536644,
    "benefits": 0,
    "other": 258922,
    "total": 795566
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 14870145,
    "benefits": 4160197,
    "other": 33858255,
    "total": 52888597
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 14870145,
    "benefits": 4160197,
    "other": 7846312,
    "total": 26876654
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": 0,
    "benefits": 0,
    "other": 26011943,
    "total": 26011943
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": 0,
    "benefits": 0,
    "other": 3408264,
    "total": 3408264
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 3408264,
    "total": 3408264
   },
   {
    "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": 78247,
    "benefits": 7948155,
    "other": 536570,
    "total": 8562972
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 78247,
    "benefits": 7948155,
    "other": 536570,
    "total": 8562972
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 25510927,
    "benefits": 12108352,
    "other": 43828380,
    "total": 81447659
   }
  ]
 }
}