{
 "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 Darien, including department detail.",
  "town_scope_note": "`function_totals` covers Darien 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 Darien: 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": "Darien",
 "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": 2664394,
    "benefits": 0,
    "other": 1538103,
    "total": 4202497
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 2664394,
    "benefits": 0,
    "other": 1538103,
    "total": 4202497
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 7586463,
    "benefits": 0,
    "other": 2290952,
    "total": 9877415
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 6285303,
    "benefits": 0,
    "other": 674347,
    "total": 6959650
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 351577,
    "benefits": 0,
    "other": 1238938,
    "total": 1590515
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 949583,
    "benefits": 0,
    "other": 377667,
    "total": 1327250
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 2109532,
    "benefits": 0,
    "other": 2017703,
    "total": 4127235
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1116235,
    "benefits": 0,
    "other": 683198,
    "total": 1799433
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 160588,
    "benefits": 0,
    "other": 1027052,
    "total": 1187640
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 832709,
    "benefits": 0,
    "other": 307453,
    "total": 1140162
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 995776,
    "benefits": 0,
    "other": 289079,
    "total": 1284855
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 309087,
    "benefits": 0,
    "other": 23305,
    "total": 332392
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 403401,
    "benefits": 0,
    "other": 184353,
    "total": 587754
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 283288,
    "benefits": 0,
    "other": 81421,
    "total": 364709
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 1015589,
    "benefits": 0,
    "other": 4530901,
    "total": 5546490
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 3820120,
    "total": 3820120
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 1015589,
    "benefits": 0,
    "other": 677401,
    "total": 1692990
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 33380,
    "total": 33380
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 64829457,
    "benefits": 29606978,
    "other": 22834294,
    "total": 117270729
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 64829457,
    "benefits": 29606978,
    "other": 22834294,
    "total": 117270729
   },
   {
    "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": 12924959,
    "total": 12924959
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 12924959,
    "total": 12924959
   },
   {
    "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": 6221571,
    "other": 514039,
    "total": 6735610
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 6221571,
    "other": 514039,
    "total": 6735610
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 79201211,
    "benefits": 35828549,
    "other": 46940030,
    "total": 161969790
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 2711293,
    "benefits": 0,
    "other": 1567795,
    "total": 4279088
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 2711293,
    "benefits": 0,
    "other": 1567795,
    "total": 4279088
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 7870564,
    "benefits": 0,
    "other": 2492515,
    "total": 10363079
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 6486592,
    "benefits": 0,
    "other": 700414,
    "total": 7187006
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 354611,
    "benefits": 0,
    "other": 1351562,
    "total": 1706173
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 1029361,
    "benefits": 0,
    "other": 440539,
    "total": 1469900
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 2157843,
    "benefits": 0,
    "other": 2141872,
    "total": 4299715
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1166089,
    "benefits": 0,
    "other": 686005,
    "total": 1852094
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 163614,
    "benefits": 0,
    "other": 1146533,
    "total": 1310147
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 828140,
    "benefits": 0,
    "other": 309334,
    "total": 1137474
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 989330,
    "benefits": 0,
    "other": 231634,
    "total": 1220964
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 315935,
    "benefits": 0,
    "other": 24008,
    "total": 339943
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 420494,
    "benefits": 0,
    "other": 141998,
    "total": 562492
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 252901,
    "benefits": 0,
    "other": 65628,
    "total": 318529
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 5040715,
    "benefits": 0,
    "other": 1209703,
    "total": 6250418
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 3963788,
    "benefits": 0,
    "other": 0,
    "total": 3963788
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 1076927,
    "benefits": 0,
    "other": 1199633,
    "total": 2276560
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 10070,
    "total": 10070
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 67289036,
    "benefits": 30032152,
    "other": 21244882,
    "total": 118566070
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 67289036,
    "benefits": 30032152,
    "other": 21244882,
    "total": 118566070
   },
   {
    "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": 8907543,
    "total": 8907543
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 8907543,
    "total": 8907543
   },
   {
    "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": 6670062,
    "other": 535306,
    "total": 7205368
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 6670062,
    "other": 535306,
    "total": 7205368
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 86058781,
    "benefits": 36702214,
    "other": 38331250,
    "total": 161092245
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 2708751,
    "benefits": 0,
    "other": 1773772,
    "total": 4482523
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 2708751,
    "benefits": 0,
    "other": 1773772,
    "total": 4482523
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 8115154,
    "benefits": 0,
    "other": 2445855,
    "total": 10561009
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 6665591,
    "benefits": 0,
    "other": 773280,
    "total": 7438871
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 355546,
    "benefits": 0,
    "other": 1275146,
    "total": 1630692
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 1094017,
    "benefits": 0,
    "other": 397429,
    "total": 1491446
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 2139947,
    "benefits": 0,
    "other": 2356068,
    "total": 4496015
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1114082,
    "benefits": 0,
    "other": 729688,
    "total": 1843770
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 158729,
    "benefits": 0,
    "other": 1296495,
    "total": 1455224
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 867136,
    "benefits": 0,
    "other": 329885,
    "total": 1197021
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 1042719,
    "benefits": 0,
    "other": 310757,
    "total": 1353476
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 323309,
    "benefits": 0,
    "other": 22944,
    "total": 346253
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 453086,
    "benefits": 0,
    "other": 194279,
    "total": 647365
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 266324,
    "benefits": 0,
    "other": 93534,
    "total": 359858
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 1071102,
    "benefits": 0,
    "other": 5631287,
    "total": 6702389
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 4138968,
    "total": 4138968
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 1071102,
    "benefits": 0,
    "other": 1476732,
    "total": 2547834
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 15587,
    "total": 15587
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 68803070,
    "benefits": 31165397,
    "other": 23289358,
    "total": 123257825
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 68803070,
    "benefits": 31165397,
    "other": 23289358,
    "total": 123257825
   },
   {
    "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": 9869012,
    "total": 9869012
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 9869012,
    "total": 9869012
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 2988589,
    "total": 2988589
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 2988589,
    "total": 2988589
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 6975275,
    "other": 556278,
    "total": 7531553
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 6975275,
    "other": 556278,
    "total": 7531553
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 83880743,
    "benefits": 38140672,
    "other": 49220976,
    "total": 171242391
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 2863633,
    "benefits": 0,
    "other": 1516588,
    "total": 4380221
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 2863633,
    "benefits": 0,
    "other": 1516588,
    "total": 4380221
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 8470384,
    "benefits": 0,
    "other": 2585204,
    "total": 11055588
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 6944623,
    "benefits": 0,
    "other": 820005,
    "total": 7764628
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 408146,
    "benefits": 0,
    "other": 1337378,
    "total": 1745524
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 1117615,
    "benefits": 0,
    "other": 427821,
    "total": 1545436
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 2122952,
    "benefits": 0,
    "other": 2254247,
    "total": 4377199
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1081674,
    "benefits": 0,
    "other": 705760,
    "total": 1787434
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 163497,
    "benefits": 0,
    "other": 1191872,
    "total": 1355369
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 877781,
    "benefits": 0,
    "other": 356615,
    "total": 1234396
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 1085002,
    "benefits": 0,
    "other": 349320,
    "total": 1434322
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 333825,
    "benefits": 0,
    "other": 24779,
    "total": 358604
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 472701,
    "benefits": 0,
    "other": 216632,
    "total": 689333
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 278476,
    "benefits": 0,
    "other": 107909,
    "total": 386385
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 1098546,
    "benefits": 0,
    "other": 4785482,
    "total": 5884028
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 4212865,
    "total": 4212865
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 1098546,
    "benefits": 0,
    "other": 512784,
    "total": 1611330
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 59833,
    "total": 59833
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 70644735,
    "benefits": 34332119,
    "other": 24827740,
    "total": 129804594
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 70644735,
    "benefits": 34332119,
    "other": 24827740,
    "total": 129804594
   },
   {
    "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": 10525608,
    "total": 10525608
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 10525608,
    "total": 10525608
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 724163,
    "total": 724163
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 724163,
    "total": 724163
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 6887255,
    "other": 764691,
    "total": 7651946
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 6887255,
    "other": 764691,
    "total": 7651946
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 86285252,
    "benefits": 41219374,
    "other": 48333043,
    "total": 175837669
   }
  ]
 }
}