{
 "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 Greenwich, including department detail.",
  "town_scope_note": "`function_totals` covers Greenwich 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 Greenwich: 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": "Greenwich",
 "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": 12491539,
    "benefits": 5681305,
    "other": 8332255,
    "total": 26505099
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 12491539,
    "benefits": 5681305,
    "other": 8332255,
    "total": 26505099
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 33275118,
    "benefits": 21769885,
    "other": 6627081,
    "total": 61672084
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 18838289,
    "benefits": 12532928,
    "other": 2052957,
    "total": 33424174
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 12921431,
    "benefits": 8607310,
    "other": 4132209,
    "total": 25660950
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 1515398,
    "benefits": 629647,
    "other": 441915,
    "total": 2586960
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 11643626,
    "benefits": 6055257,
    "other": 11883706,
    "total": 29582589
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 5695107,
    "benefits": 2965805,
    "other": 1815595,
    "total": 10476507
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 534143,
    "benefits": 244043,
    "other": 6046761,
    "total": 6824947
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 5414376,
    "benefits": 2845409,
    "other": 4021350,
    "total": 12281135
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 4764010,
    "benefits": 2247688,
    "other": 7949407,
    "total": 14961105
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 2213534,
    "benefits": 1217797,
    "other": 1789259,
    "total": 5220590
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 2550476,
    "benefits": 1029891,
    "other": 1460148,
    "total": 5040515
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 4700000,
    "total": 4700000
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 16610653,
    "benefits": 7975988,
    "other": 6057605,
    "total": 30644246
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 7419899,
    "benefits": 3576500,
    "other": 3697175,
    "total": 14693574
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 9190754,
    "benefits": 4399488,
    "other": 2360430,
    "total": 15950672
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 130466811,
    "benefits": 37377347,
    "other": 64766202,
    "total": 232610360
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 130466811,
    "benefits": 37377347,
    "other": 64766202,
    "total": 232610360
   },
   {
    "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": 44065678,
    "total": 44065678
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 44065678,
    "total": 44065678
   },
   {
    "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": 0,
    "total": 0
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 209251757,
    "benefits": 81107470,
    "other": 149681934,
    "total": 440041161
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 11953255,
    "benefits": 6150718,
    "other": 8726200,
    "total": 26830173
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 11953255,
    "benefits": 6150718,
    "other": 8726200,
    "total": 26830173
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 33690545,
    "benefits": 23238247,
    "other": 7538310,
    "total": 64467102
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 18671023,
    "benefits": 13638989,
    "other": 2549075,
    "total": 34859087
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 13473848,
    "benefits": 8769746,
    "other": 4680262,
    "total": 26923856
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 1545674,
    "benefits": 829512,
    "other": 308973,
    "total": 2684159
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 11390001,
    "benefits": 5781481,
    "other": 13212744,
    "total": 30384226
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 5481652,
    "benefits": 2868148,
    "other": 2045564,
    "total": 10395364
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 565851,
    "benefits": 255688,
    "other": 6410646,
    "total": 7232185
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 5342498,
    "benefits": 2657645,
    "other": 4756534,
    "total": 12756677
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 4580687,
    "benefits": 2193562,
    "other": 9072199,
    "total": 15846448
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 2087576,
    "benefits": 1130470,
    "other": 1625444,
    "total": 4843490
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 2493111,
    "benefits": 1063092,
    "other": 2664450,
    "total": 6220653
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 4782305,
    "total": 4782305
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 16487845,
    "benefits": 7946750,
    "other": 7026543,
    "total": 31461138
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 7242611,
    "benefits": 3485977,
    "other": 4173325,
    "total": 14901913
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 9245234,
    "benefits": 4460773,
    "other": 2853218,
    "total": 16559225
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 133427493,
    "benefits": 37986838,
    "other": 65936815,
    "total": 237351146
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 133427493,
    "benefits": 37986838,
    "other": 65936815,
    "total": 237351146
   },
   {
    "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": 45694524,
    "total": 45694524
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 45694524,
    "total": 45694524
   },
   {
    "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": 0,
    "total": 0
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 211529826,
    "benefits": 83297596,
    "other": 157207335,
    "total": 452034757
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 12041180,
    "benefits": 6226430,
    "other": 9180605,
    "total": 27448215
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 12041180,
    "benefits": 6226430,
    "other": 9180605,
    "total": 27448215
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 39395881,
    "benefits": 23994048,
    "other": 3435227,
    "total": 66825156
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 23396162,
    "benefits": 12996583,
    "other": 1161620,
    "total": 37554365
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 14494720,
    "benefits": 10204913,
    "other": 2132807,
    "total": 26832440
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 1504999,
    "benefits": 792552,
    "other": 140800,
    "total": 2438351
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 11770335,
    "benefits": 6476278,
    "other": 13560220,
    "total": 31806833
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 5268665,
    "benefits": 2807951,
    "other": 1934988,
    "total": 10011604
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 581201,
    "benefits": 286186,
    "other": 5238675,
    "total": 6106062
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 5920469,
    "benefits": 3382141,
    "other": 6386557,
    "total": 15689167
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 4767981,
    "benefits": 2311081,
    "other": 7998680,
    "total": 15077742
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 2193096,
    "benefits": 1211097,
    "other": 6559458,
    "total": 9963651
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 2574885,
    "benefits": 1099984,
    "other": 1439222,
    "total": 5114091
   },
   {
    "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": 17557730,
    "benefits": 8554637,
    "other": 7602898,
    "total": 33715265
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 7531225,
    "benefits": 3532934,
    "other": 4200603,
    "total": 15264762
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 10026505,
    "benefits": 5021703,
    "other": 3402295,
    "total": 18450503
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 136567549,
    "benefits": 36901427,
    "other": 74830548,
    "total": 248299524
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 136567549,
    "benefits": 36901427,
    "other": 74830548,
    "total": 248299524
   },
   {
    "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": 41207607,
    "total": 41207607
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 41207607,
    "total": 41207607
   },
   {
    "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": 222100656,
    "benefits": 84463901,
    "other": 157815785,
    "total": 464380342
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 12204549,
    "benefits": 7293173,
    "other": 8629375,
    "total": 28127097
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 12204549,
    "benefits": 7293173,
    "other": 8629375,
    "total": 28127097
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 36018779,
    "benefits": 27508051,
    "other": 5749128,
    "total": 69275958
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 22234696,
    "benefits": 16282724,
    "other": 2494544,
    "total": 41011964
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 13784083,
    "benefits": 11225327,
    "other": 3254584,
    "total": 28263994
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 10660868,
    "benefits": 9281804,
    "other": 12921091,
    "total": 32863763
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 5375658,
    "benefits": 5285351,
    "other": 1904266,
    "total": 12565275
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 575937,
    "benefits": 291333,
    "other": 5112376,
    "total": 5979646
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 4709273,
    "benefits": 3705120,
    "other": 5904449,
    "total": 14318842
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 4775801,
    "benefits": 8854345,
    "other": 7595885,
    "total": 21226031
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 2218195,
    "benefits": 7568125,
    "other": 6285923,
    "total": 16072243
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 2557606,
    "benefits": 1286220,
    "other": 1309962,
    "total": 5153788
   },
   {
    "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": 17174476,
    "benefits": 9324885,
    "other": 7084905,
    "total": 33584266
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 7596760,
    "benefits": 3470969,
    "other": 4000756,
    "total": 15068485
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 9577716,
    "benefits": 5853916,
    "other": 3084149,
    "total": 18515781
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 138201288,
    "benefits": 42562726,
    "other": 71763789,
    "total": 252527803
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 138201288,
    "benefits": 42562726,
    "other": 71763789,
    "total": 252527803
   },
   {
    "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": 42225111,
    "total": 42225111
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 42225111,
    "total": 42225111
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 1112766,
    "total": 1112766
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 1112766,
    "total": 1112766
   },
   {
    "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": 219035761,
    "benefits": 104824984,
    "other": 157082050,
    "total": 480942795
   }
  ]
 }
}