{
 "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 Canaan, including department detail.",
  "town_scope_note": "`function_totals` covers New Canaan 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 Canaan: 2020.",
  "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 Canaan",
 "years": [
  "2020",
  "2021",
  "2022",
  "2023"
 ],
 "fiscal_years": [
  "19-20",
  "20-21",
  "21-22",
  "22-23"
 ],
 "target_departments": {
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 4119025,
    "benefits": 249776,
    "other": 2493975,
    "total": 6862776
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 4119025,
    "benefits": 249776,
    "other": 2493975,
    "total": 6862776
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 9632387,
    "benefits": 219946,
    "other": 1471775,
    "total": 11324108
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 5857803,
    "benefits": 131287,
    "other": 438737,
    "total": 6427827
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 3653686,
    "benefits": 73797,
    "other": 375811,
    "total": 4103294
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 120898,
    "benefits": 14862,
    "other": 657227,
    "total": 792987
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 3515665,
    "benefits": 348194,
    "other": 4305354,
    "total": 8169213
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 2841030,
    "benefits": 285082,
    "other": 1548051,
    "total": 4674163
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 440816,
    "benefits": 40159,
    "other": 1283818,
    "total": 1764793
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 233819,
    "benefits": 22953,
    "other": 1473485,
    "total": 1730257
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 940294,
    "benefits": 100373,
    "other": 802218,
    "total": 1842885
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 559866,
    "benefits": 56120,
    "other": 25039,
    "total": 641025
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 380428,
    "benefits": 44253,
    "other": 642179,
    "total": 1066860
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 135000,
    "total": 135000
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 2012060,
    "benefits": 175588,
    "other": 3615927,
    "total": 5803575
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 2378072,
    "total": 2378072
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 2012060,
    "benefits": 175588,
    "other": 1237855,
    "total": 3425503
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 60093747,
    "benefits": 29032047,
    "other": 16616382,
    "total": 105742176
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 60093747,
    "benefits": 29032047,
    "other": 16616382,
    "total": 105742176
   },
   {
    "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": 16922856,
    "total": 16922856
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 16922856,
    "total": 16922856
   },
   {
    "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": 8813165,
    "other": 0,
    "total": 8813165
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 8813165,
    "other": 0,
    "total": 8813165
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 80313178,
    "benefits": 38939089,
    "other": 46228487,
    "total": 165480754
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 3785596,
    "benefits": 9314740,
    "other": 1984147,
    "total": 15084483
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 3785596,
    "benefits": 9314740,
    "other": 1984147,
    "total": 15084483
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 9680208,
    "benefits": 370494,
    "other": 1277456,
    "total": 11328158
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 5994684,
    "benefits": 266533,
    "other": 348695,
    "total": 6609912
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 3503003,
    "benefits": 85144,
    "other": 894743,
    "total": 4482890
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 182521,
    "benefits": 18817,
    "other": 34018,
    "total": 235356
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 4636787,
    "benefits": 469625,
    "other": 3127426,
    "total": 8233838
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 2258225,
    "benefits": 233632,
    "other": 879588,
    "total": 3371445
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 446130,
    "benefits": 41018,
    "other": 1209338,
    "total": 1696486
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 1932432,
    "benefits": 194975,
    "other": 1038500,
    "total": 3165907
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 894326,
    "benefits": 116550,
    "other": 895634,
    "total": 1906510
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 504414,
    "benefits": 70987,
    "other": 53044,
    "total": 628445
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 389912,
    "benefits": 45563,
    "other": 23426,
    "total": 458901
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 819164,
    "total": 819164
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 1024592,
    "benefits": 104579,
    "other": 3284712,
    "total": 4413883
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 2425633,
    "total": 2425633
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 1024592,
    "benefits": 104579,
    "other": 859079,
    "total": 1988250
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 62043161,
    "benefits": 25738614,
    "other": 16750788,
    "total": 104532563
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 62043161,
    "benefits": 25738614,
    "other": 16750788,
    "total": 104532563
   },
   {
    "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": 17414551,
    "total": 17414551
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 17414551,
    "total": 17414551
   },
   {
    "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": 1752802,
    "total": 1752802
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 1752802,
    "total": 1752802
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 82064670,
    "benefits": 36114602,
    "other": 46487516,
    "total": 164666788
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 3174944,
    "benefits": 8865380,
    "other": 1862998,
    "total": 13903322
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 3174944,
    "benefits": 8865380,
    "other": 1862998,
    "total": 13903322
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 11292400,
    "benefits": 422642,
    "other": 1644157,
    "total": 13359199
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 6457542,
    "benefits": 204230,
    "other": 564054,
    "total": 7225826
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 3592458,
    "benefits": 87769,
    "other": 406035,
    "total": 4086262
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 1242400,
    "benefits": 130643,
    "other": 674068,
    "total": 2047111
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 4965346,
    "benefits": 518932,
    "other": 4763114,
    "total": 10247392
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 2415411,
    "benefits": 240529,
    "other": 793247,
    "total": 3449187
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 456783,
    "benefits": 45035,
    "other": 1103650,
    "total": 1605468
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 2093152,
    "benefits": 233368,
    "other": 2866217,
    "total": 5192737
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 843402,
    "benefits": 115529,
    "other": 787123,
    "total": 1746054
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 469859,
    "benefits": 71315,
    "other": 19644,
    "total": 560818
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 373543,
    "benefits": 44214,
    "other": 18802,
    "total": 436559
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 748677,
    "total": 748677
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 1029891,
    "benefits": 88775,
    "other": 3472688,
    "total": 4591354
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 2562818,
    "total": 2562818
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 1029891,
    "benefits": 88775,
    "other": 909870,
    "total": 2028536
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 64177604,
    "benefits": 31257183,
    "other": 18124573,
    "total": 113559360
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 64177604,
    "benefits": 31257183,
    "other": 18124573,
    "total": 113559360
   },
   {
    "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": 18111717,
    "total": 18111717
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 18111717,
    "total": 18111717
   },
   {
    "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": 85483587,
    "benefits": 41268441,
    "other": 48766370,
    "total": 175518398
   }
  ]
 }
}