{
 "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 New Milford, including department detail.",
  "town_scope_note": "`function_totals` covers New Milford 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 New Milford: 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": "New Milford",
 "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": 0,
    "benefits": 0,
    "other": 11304165,
    "total": 11304165
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 0,
    "benefits": 0,
    "other": 11304165,
    "total": 11304165
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 0,
    "benefits": 0,
    "other": 7264373,
    "total": 7264373
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "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": 7264373,
    "total": 7264373
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 0,
    "benefits": 0,
    "other": 5583066,
    "total": 5583066
   },
   {
    "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": 5583066,
    "total": 5583066
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 0,
    "benefits": 0,
    "other": 2479634,
    "total": 2479634
   },
   {
    "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": 2479634,
    "total": 2479634
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 0,
    "benefits": 0,
    "other": 1479812,
    "total": 1479812
   },
   {
    "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": 1479812,
    "total": 1479812
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 0,
    "benefits": 0,
    "other": 70853553,
    "total": 70853553
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 70853553,
    "total": 70853553
   },
   {
    "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": 3360845,
    "total": 3360845
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 3360845,
    "total": 3360845
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 2198931,
    "total": 2198931
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 2198931,
    "total": 2198931
   },
   {
    "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": 0,
    "benefits": 0,
    "other": 104524379,
    "total": 104524379
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 1840521,
    "benefits": 0,
    "other": 2719655,
    "total": 4560176
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1840521,
    "benefits": 0,
    "other": 2719655,
    "total": 4560176
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 5633167,
    "benefits": 0,
    "other": 1636935,
    "total": 7270102
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 5012388,
    "benefits": 0,
    "other": 305675,
    "total": 5318063
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 633536,
    "total": 633536
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 620779,
    "benefits": 0,
    "other": 697724,
    "total": 1318503
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 3212799,
    "benefits": 0,
    "other": 2164151,
    "total": 5376950
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 2665006,
    "benefits": 0,
    "other": 2042984,
    "total": 4707990
   },
   {
    "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": 547793,
    "benefits": 0,
    "other": 121167,
    "total": 668960
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 1671962,
    "benefits": 0,
    "other": 526659,
    "total": 2198621
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 291263,
    "benefits": 0,
    "other": 69420,
    "total": 360683
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 202228,
    "benefits": 0,
    "other": 2068,
    "total": 204296
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 1178471,
    "benefits": 0,
    "other": 455171,
    "total": 1633642
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 673751,
    "benefits": 0,
    "other": 399785,
    "total": 1073536
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 673751,
    "benefits": 0,
    "other": 399785,
    "total": 1073536
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 37858988,
    "benefits": 10169208,
    "other": 22877744,
    "total": 70905940
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 37858988,
    "benefits": 10169208,
    "other": 22877744,
    "total": 70905940
   },
   {
    "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": 3868771,
    "total": 3868771
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 3868771,
    "total": 3868771
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 3651999,
    "total": 3651999
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 3651999,
    "total": 3651999
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 151630,
    "benefits": 6847148,
    "other": 669080,
    "total": 7667858
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 151630,
    "benefits": 6847148,
    "other": 669080,
    "total": 7667858
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 51042818,
    "benefits": 17016356,
    "other": 38514779,
    "total": 106573953
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 1948667,
    "benefits": 0,
    "other": 2069821,
    "total": 4018488
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1948667,
    "benefits": 0,
    "other": 2069821,
    "total": 4018488
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 6025879,
    "benefits": 108576,
    "other": 2458058,
    "total": 8592513
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 5664803,
    "benefits": 0,
    "other": 498355,
    "total": 6163158
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 163508,
    "benefits": 108576,
    "other": 1043178,
    "total": 1315262
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 197568,
    "benefits": 0,
    "other": 916525,
    "total": 1114093
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 3298924,
    "benefits": 0,
    "other": 2243315,
    "total": 5542239
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 3298924,
    "benefits": 0,
    "other": 2243315,
    "total": 5542239
   },
   {
    "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": 1084967,
    "benefits": 0,
    "other": 1526709,
    "total": 2611676
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 1084967,
    "benefits": 0,
    "other": 1526709,
    "total": 2611676
   },
   {
    "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": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 836550,
    "benefits": 0,
    "other": 490559,
    "total": 1327109
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 836550,
    "benefits": 0,
    "other": 490559,
    "total": 1327109
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 37938282,
    "benefits": 18908915,
    "other": 15927834,
    "total": 72775031
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 37938282,
    "benefits": 18908915,
    "other": 15927834,
    "total": 72775031
   },
   {
    "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": 3627793,
    "total": 3627793
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 3627793,
    "total": 3627793
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 2781512,
    "total": 2781512
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 2781512,
    "total": 2781512
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 6983319,
    "other": 749655,
    "total": 7732974
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 6983319,
    "other": 749655,
    "total": 7732974
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 51133269,
    "benefits": 26000810,
    "other": 31875256,
    "total": 109009335
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 2116436,
    "benefits": 0,
    "other": 1971986,
    "total": 4088422
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 2116436,
    "benefits": 0,
    "other": 1971986,
    "total": 4088422
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 6302914,
    "benefits": 0,
    "other": 2573552,
    "total": 8876466
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 5888333,
    "benefits": 0,
    "other": 0,
    "total": 5888333
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 729813,
    "total": 729813
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 414581,
    "benefits": 0,
    "other": 1843739,
    "total": 2258320
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 3351251,
    "benefits": 0,
    "other": 2468077,
    "total": 5819328
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 2759196,
    "benefits": 0,
    "other": 2468077,
    "total": 5227273
   },
   {
    "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": 592055,
    "benefits": 0,
    "other": 0,
    "total": 592055
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 1586851,
    "benefits": 0,
    "other": 1139926,
    "total": 2726777
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 287011,
    "total": 287011
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 292222,
    "benefits": 0,
    "other": 0,
    "total": 292222
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 1294629,
    "benefits": 0,
    "other": 852915,
    "total": 2147544
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 843059,
    "benefits": 0,
    "other": 676391,
    "total": 1519450
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 843059,
    "benefits": 0,
    "other": 0,
    "total": 843059
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 676391,
    "total": 676391
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 0,
    "benefits": 0,
    "other": 77659782,
    "total": 77659782
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 77659782,
    "total": 77659782
   },
   {
    "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": 5136486,
    "total": 5136486
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 5136486,
    "total": 5136486
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 2987608,
    "total": 2987608
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 2987608,
    "total": 2987608
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 8326577,
    "other": 0,
    "total": 8326577
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 8326577,
    "other": 0,
    "total": 8326577
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 14200511,
    "benefits": 8326577,
    "other": 94613808,
    "total": 117140896
   }
  ]
 }
}