{
 "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 Enfield, including department detail.",
  "town_scope_note": "`function_totals` covers Enfield 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 Enfield: 2021.",
  "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": "Enfield",
 "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": 3208137,
    "benefits": 871157,
    "other": 2197706,
    "total": 6277000
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 3208137,
    "benefits": 871157,
    "other": 2197706,
    "total": 6277000
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 11969271,
    "benefits": 2794402,
    "other": 1500327,
    "total": 16264000
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 10362825,
    "benefits": 2106397,
    "other": 618778,
    "total": 13088000
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 1606446,
    "benefits": 688005,
    "other": 881549,
    "total": 3176000
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 7370565,
    "benefits": 2323703,
    "other": 5961732,
    "total": 15656000
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 774120,
    "benefits": 227779,
    "other": 655101,
    "total": 1657000
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 1226358,
    "benefits": 380144,
    "other": 1628498,
    "total": 3235000
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 5370087,
    "benefits": 1715780,
    "other": 3678133,
    "total": 10764000
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 3158664,
    "benefits": 1497978,
    "other": 1125358,
    "total": 5782000
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 3158664,
    "benefits": 1497978,
    "other": 1125358,
    "total": 5782000
   },
   {
    "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": 1511382,
    "benefits": 521340,
    "other": 303278,
    "total": 2336000
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 1252561,
    "benefits": 483959,
    "other": 250480,
    "total": 1987000
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 258821,
    "benefits": 37381,
    "other": 52798,
    "total": 349000
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 45662528,
    "benefits": 12796945,
    "other": 28362527,
    "total": 86822000
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 45662528,
    "benefits": 12796945,
    "other": 28362527,
    "total": 86822000
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": null,
    "benefits": null,
    "other": 0,
    "total": 0
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": null,
    "benefits": null,
    "other": 11219000,
    "total": 11219000
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 11219000,
    "total": 11219000
   },
   {
    "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": 8874000,
    "total": 8874000
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 8874000,
    "total": 8874000
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 72880547,
    "benefits": 20805525,
    "other": 59543928,
    "total": 153230000
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 3165541,
    "benefits": 934729,
    "other": 2662730,
    "total": 6763000
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 3165541,
    "benefits": 934729,
    "other": 2662730,
    "total": 6763000
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 13054909,
    "benefits": 3173608,
    "other": 2049483,
    "total": 18278000
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 10940590,
    "benefits": 2388271,
    "other": 1125139,
    "total": 14454000
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 2114319,
    "benefits": 785337,
    "other": 924344,
    "total": 3824000
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 7855900,
    "benefits": 2804856,
    "other": 6576244,
    "total": 17237000
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 854393,
    "benefits": 307807,
    "other": 718018,
    "total": 1880218
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 1293388,
    "benefits": 472801,
    "other": 1863011,
    "total": 3629200
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 5708119,
    "benefits": 2024248,
    "other": 3995215,
    "total": 11727582
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 3360575,
    "benefits": 1696072,
    "other": 770353,
    "total": 5827000
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 3360575,
    "benefits": 1696072,
    "other": 770353,
    "total": 5827000
   },
   {
    "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": 1495108,
    "benefits": 551928,
    "other": 275964,
    "total": 2323000
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 1219522,
    "benefits": 513614,
    "other": 236864,
    "total": 1970000
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 275586,
    "benefits": 38314,
    "other": 39100,
    "total": 353000
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 47100217,
    "benefits": 14165336,
    "other": 26254447,
    "total": 87520000
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 47100217,
    "benefits": 14165336,
    "other": 26254447,
    "total": 87520000
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": 0,
    "benefits": 0,
    "other": 12303000,
    "total": 12303000
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 12303000,
    "total": 12303000
   },
   {
    "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": 1184677,
    "benefits": 4198964,
    "other": 2557359,
    "total": 7941000
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 1184677,
    "benefits": 4198964,
    "other": 2557359,
    "total": 7941000
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 77216927,
    "benefits": 27525493,
    "other": 53449580,
    "total": 158192000
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 3278302,
    "benefits": 992452,
    "other": 2462246,
    "total": 6733000
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 3278302,
    "benefits": 992452,
    "other": 2462246,
    "total": 6733000
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 14845390,
    "benefits": 3430490,
    "other": 1977120,
    "total": 20253000
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 12067884,
    "benefits": 2480654,
    "other": 1280462,
    "total": 15829000
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 2777506,
    "benefits": 949836,
    "other": 696658,
    "total": 4424000
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 8741589,
    "benefits": 2961058,
    "other": 6776353,
    "total": 18479000
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 829729,
    "benefits": 310195,
    "other": 511076,
    "total": 1651000
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 1344299,
    "benefits": 435077,
    "other": 2038624,
    "total": 3818000
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 6567561,
    "benefits": 2215786,
    "other": 4226653,
    "total": 13010000
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 3549027,
    "benefits": 1618175,
    "other": 875798,
    "total": 6043000
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 3549027,
    "benefits": 1618175,
    "other": 875798,
    "total": 6043000
   },
   {
    "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": 1567576,
    "benefits": 525753,
    "other": 302671,
    "total": 2396000
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 1262930,
    "benefits": 485177,
    "other": 234893,
    "total": 1983000
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 304646,
    "benefits": 40576,
    "other": 67778,
    "total": 413000
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 47195689,
    "benefits": 13281335,
    "other": 20137976,
    "total": 80615000
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 47195689,
    "benefits": 13281335,
    "other": 20137976,
    "total": 80615000
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": 0,
    "benefits": 0,
    "other": 12455000,
    "total": 12455000
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 12455000,
    "total": 12455000
   },
   {
    "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": 765110,
    "benefits": 3672632,
    "other": 2520258,
    "total": 6958000
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 765110,
    "benefits": 3672632,
    "other": 2520258,
    "total": 6958000
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 79942683,
    "benefits": 26481895,
    "other": 47507422,
    "total": 153932000
   }
  ]
 }
}