{
 "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 Montville, including department detail.",
  "town_scope_note": "`function_totals` covers Montville 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 Montville: 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": "Montville",
 "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": 1885424,
    "benefits": 0,
    "other": 6352462,
    "total": 8237886
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1885424,
    "benefits": 0,
    "other": 6352462,
    "total": 8237886
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 3811930,
    "benefits": 0,
    "other": 924256,
    "total": 4736186
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 2250731,
    "benefits": 0,
    "other": 258215,
    "total": 2508946
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 867902,
    "benefits": 0,
    "other": 475630,
    "total": 1343532
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 693297,
    "benefits": 0,
    "other": 190411,
    "total": 883708
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 1617204,
    "benefits": 0,
    "other": 2387369,
    "total": 4004573
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1392230,
    "benefits": 0,
    "other": 1594862,
    "total": 2987092
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 165480,
    "benefits": 0,
    "other": 774152,
    "total": 939632
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 59494,
    "benefits": 0,
    "other": 18355,
    "total": 77849
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 33676,
    "benefits": 0,
    "other": 189340,
    "total": 223016
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 189204,
    "total": 189204
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 33676,
    "benefits": 0,
    "other": 136,
    "total": 33812
   },
   {
    "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": 213468,
    "benefits": 0,
    "other": 80665,
    "total": 294133
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 213468,
    "benefits": 0,
    "other": 80665,
    "total": 294133
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 24501040,
    "benefits": 0,
    "other": 19839967,
    "total": 44341007
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 24501040,
    "benefits": 0,
    "other": 19839967,
    "total": 44341007
   },
   {
    "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": 4938703,
    "total": 4938703
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 4938703,
    "total": 4938703
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 273881,
    "total": 273881
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 273881,
    "total": 273881
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 0,
    "other": 74300,
    "total": 74300
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 74300,
    "total": 74300
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 32062742,
    "benefits": 0,
    "other": 35060943,
    "total": 67123685
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 1912193,
    "benefits": 0,
    "other": 5862616,
    "total": 7774809
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1912193,
    "benefits": 0,
    "other": 5862616,
    "total": 7774809
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 3389666,
    "benefits": 0,
    "other": 1760800,
    "total": 5150466
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 2281533,
    "benefits": 0,
    "other": 342321,
    "total": 2623854
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 985092,
    "benefits": 0,
    "other": 481174,
    "total": 1466266
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 123041,
    "benefits": 0,
    "other": 937305,
    "total": 1060346
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 1677875,
    "benefits": 0,
    "other": 2070780,
    "total": 3748655
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1457823,
    "benefits": 0,
    "other": 1196993,
    "total": 2654816
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 164895,
    "benefits": 0,
    "other": 744393,
    "total": 909288
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 55157,
    "benefits": 0,
    "other": 129394,
    "total": 184551
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 42160,
    "benefits": 0,
    "other": 189195,
    "total": 231355
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 177609,
    "total": 177609
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 42160,
    "benefits": 0,
    "other": 207,
    "total": 42367
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 11379,
    "total": 11379
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 199436,
    "benefits": 0,
    "other": 125705,
    "total": 325141
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 65000,
    "total": 65000
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 199436,
    "benefits": 0,
    "other": 51405,
    "total": 250841
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 9300,
    "total": 9300
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 24598944,
    "benefits": 0,
    "other": 18733133,
    "total": 43332077
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 24598944,
    "benefits": 0,
    "other": 18733133,
    "total": 43332077
   },
   {
    "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": 5078419,
    "total": 5078419
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 5078419,
    "total": 5078419
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 381089,
    "total": 381089
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 381089,
    "total": 381089
   },
   {
    "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": 31820274,
    "benefits": 0,
    "other": 34201737,
    "total": 66022011
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 1910297,
    "benefits": 0,
    "other": 6452809,
    "total": 8363106
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1910297,
    "benefits": 0,
    "other": 6452809,
    "total": 8363106
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 3618132,
    "benefits": 0,
    "other": 1692190,
    "total": 5310322
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 2410470,
    "benefits": 0,
    "other": 299793,
    "total": 2710263
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 1054491,
    "benefits": 0,
    "other": 447867,
    "total": 1502358
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 153171,
    "benefits": 0,
    "other": 944530,
    "total": 1097701
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 1717369,
    "benefits": 0,
    "other": 2182237,
    "total": 3899606
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1551743,
    "benefits": 0,
    "other": 1340910,
    "total": 2892653
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 165626,
    "benefits": 0,
    "other": 769289,
    "total": 934915
   },
   {
    "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": 72038,
    "total": 72038
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 45963,
    "benefits": 0,
    "other": 195982,
    "total": 241945
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 182462,
    "total": 182462
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 45963,
    "benefits": 0,
    "other": 168,
    "total": 46131
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 13352,
    "total": 13352
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 221232,
    "benefits": 0,
    "other": 154181,
    "total": 375413
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 65000,
    "total": 65000
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 221232,
    "benefits": 0,
    "other": 79881,
    "total": 301113
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 9300,
    "total": 9300
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 26049465,
    "benefits": 0,
    "other": 21392427,
    "total": 47441892
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 26049465,
    "benefits": 0,
    "other": 21392427,
    "total": 47441892
   },
   {
    "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": 5152262,
    "total": 5152262
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 5152262,
    "total": 5152262
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 1067134,
    "total": 1067134
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 1067134,
    "total": 1067134
   },
   {
    "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": 33562458,
    "benefits": 0,
    "other": 38289222,
    "total": 71851680
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 2017363,
    "benefits": 0,
    "other": 6226339,
    "total": 8243702
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 2017363,
    "benefits": 0,
    "other": 6226339,
    "total": 8243702
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 3809189,
    "benefits": 0,
    "other": 2061518,
    "total": 5870707
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 2585571,
    "benefits": 0,
    "other": 302791,
    "total": 2888362
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 1009078,
    "benefits": 0,
    "other": 518103,
    "total": 1527181
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 214540,
    "benefits": 0,
    "other": 1240624,
    "total": 1455164
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 1709888,
    "benefits": 0,
    "other": 2120221,
    "total": 3830109
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1531609,
    "benefits": 0,
    "other": 1416844,
    "total": 2948453
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 178279,
    "benefits": 0,
    "other": 425565,
    "total": 603844
   },
   {
    "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": 277812,
    "total": 277812
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 47178,
    "benefits": 0,
    "other": 192730,
    "total": 239908
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 182246,
    "total": 182246
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 47178,
    "benefits": 0,
    "other": 865,
    "total": 48043
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 9619,
    "total": 9619
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 266673,
    "benefits": 0,
    "other": 185833,
    "total": 452506
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 65000,
    "total": 65000
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 266673,
    "benefits": 0,
    "other": 101680,
    "total": 368353
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 19153,
    "total": 19153
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 26057568,
    "benefits": 0,
    "other": 22175048,
    "total": 48232616
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 26057568,
    "benefits": 0,
    "other": 22175048,
    "total": 48232616
   },
   {
    "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": 5089383,
    "total": 5089383
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 5089383,
    "total": 5089383
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 1221327,
    "total": 1221327
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 1221327,
    "total": 1221327
   },
   {
    "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": 33907859,
    "benefits": 0,
    "other": 39272399,
    "total": 73180258
   }
  ]
 }
}