{
 "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 Rocky Hill, including department detail.",
  "town_scope_note": "`function_totals` covers Rocky Hill 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 Rocky Hill: 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": "Rocky Hill",
 "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": 1936367,
    "benefits": 0,
    "other": 649098,
    "total": 2585465
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1936367,
    "benefits": 0,
    "other": 649098,
    "total": 2585465
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 6132376,
    "benefits": 0,
    "other": 1098161,
    "total": 7230537
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 5194070,
    "benefits": 0,
    "other": 574589,
    "total": 5768659
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 638398,
    "benefits": 0,
    "other": 397698,
    "total": 1036096
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 299908,
    "benefits": 0,
    "other": 125874,
    "total": 425782
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 2078545,
    "benefits": 0,
    "other": 5185481,
    "total": 7264026
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1907169,
    "benefits": 0,
    "other": 815756,
    "total": 2722925
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 171376,
    "benefits": 0,
    "other": 4369725,
    "total": 4541101
   },
   {
    "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": 471158,
    "benefits": 0,
    "other": 160922,
    "total": 632080
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 125656,
    "total": 125656
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 471158,
    "benefits": 0,
    "other": 35266,
    "total": 506424
   },
   {
    "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": 2139111,
    "benefits": 0,
    "other": 588184,
    "total": 2727295
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 862669,
    "benefits": 0,
    "other": 162529,
    "total": 1025198
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 1276442,
    "benefits": 0,
    "other": 425655,
    "total": 1702097
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 29987477,
    "benefits": 12563458,
    "other": 7751192,
    "total": 50302127
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 29987477,
    "benefits": 12563458,
    "other": 7751192,
    "total": 50302127
   },
   {
    "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": 4504622,
    "total": 4504622
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 4504622,
    "total": 4504622
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 968524,
    "total": 968524
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 968524,
    "total": 968524
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 979608,
    "benefits": 6442505,
    "other": 1973688,
    "total": 9395801
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 979608,
    "benefits": 6442505,
    "other": 1973688,
    "total": 9395801
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 43724642,
    "benefits": 19005963,
    "other": 22879872,
    "total": 85610477
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 2296342,
    "benefits": 0,
    "other": 363896,
    "total": 2660238
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 2296342,
    "benefits": 0,
    "other": 363896,
    "total": 2660238
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 6036806,
    "benefits": 0,
    "other": 1205906,
    "total": 7242712
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 5054181,
    "benefits": 0,
    "other": 604950,
    "total": 5659131
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 673497,
    "benefits": 0,
    "other": 428251,
    "total": 1101748
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 309128,
    "benefits": 0,
    "other": 172705,
    "total": 481833
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 5473117,
    "benefits": 0,
    "other": 2285787,
    "total": 7758904
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1551118,
    "benefits": 0,
    "other": 806208,
    "total": 2357326
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 179190,
    "benefits": 0,
    "other": 1421813,
    "total": 1601003
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 3261350,
    "benefits": 0,
    "other": 0,
    "total": 3261350
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 481459,
    "benefits": 0,
    "other": 57766,
    "total": 539225
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 596306,
    "benefits": 0,
    "other": 37809,
    "total": 634115
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 129935,
    "benefits": 0,
    "other": 0,
    "total": 129935
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 466371,
    "benefits": 0,
    "other": 37809,
    "total": 504180
   },
   {
    "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": 2065409,
    "benefits": 0,
    "other": 712393,
    "total": 2777802
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 751003,
    "benefits": 0,
    "other": 306671,
    "total": 1057674
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 1314406,
    "benefits": 0,
    "other": 405722,
    "total": 1720128
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 31020228,
    "benefits": 13515193,
    "other": 7271191,
    "total": 51806612
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 31020228,
    "benefits": 13515193,
    "other": 7271191,
    "total": 51806612
   },
   {
    "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": 7927303,
    "total": 7927303
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 7927303,
    "total": 7927303
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 669633,
    "total": 669633
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 669633,
    "total": 669633
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 639655,
    "benefits": 4914110,
    "other": 3409225,
    "total": 8962990
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 639655,
    "benefits": 4914110,
    "other": 3409225,
    "total": 8962990
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 48127863,
    "benefits": 18429303,
    "other": 23883143,
    "total": 90440309
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 2550370,
    "benefits": 6103722,
    "other": 348496,
    "total": 9002588
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 2550370,
    "benefits": 6103722,
    "other": 348496,
    "total": 9002588
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 6450860,
    "benefits": 625629,
    "other": 1452613,
    "total": 8529102
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 5474084,
    "benefits": 625629,
    "other": 609786,
    "total": 6709499
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 642444,
    "benefits": 0,
    "other": 638660,
    "total": 1281104
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 334332,
    "benefits": 0,
    "other": 204167,
    "total": 538499
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 2291490,
    "benefits": 0,
    "other": 5763476,
    "total": 8054966
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1632508,
    "benefits": 0,
    "other": 953888,
    "total": 2586396
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 181607,
    "benefits": 0,
    "other": 1552136,
    "total": 1733743
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 3184750,
    "total": 3184750
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 477375,
    "benefits": 0,
    "other": 72702,
    "total": 550077
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 494442,
    "benefits": 0,
    "other": 168013,
    "total": 662455
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 132759,
    "total": 132759
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 494442,
    "benefits": 0,
    "other": 35254,
    "total": 529696
   },
   {
    "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": 2300417,
    "benefits": 0,
    "other": 696378,
    "total": 2996795
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 898866,
    "benefits": 0,
    "other": 170596,
    "total": 1069462
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 1401551,
    "benefits": 0,
    "other": 525782,
    "total": 1927333
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 32409985,
    "benefits": 14863513,
    "other": 7188109,
    "total": 54461607
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 32409985,
    "benefits": 14863513,
    "other": 7188109,
    "total": 54461607
   },
   {
    "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": 8314716,
    "total": 8314716
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 8314716,
    "total": 8314716
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 426126,
    "total": 426126
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 426126,
    "total": 426126
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 1094231,
    "benefits": 0,
    "other": 1206128,
    "total": 2300359
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 1094231,
    "benefits": 0,
    "other": 1206128,
    "total": 2300359
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 47591795,
    "benefits": 21592864,
    "other": 25564055,
    "total": 94748714
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 2548138,
    "benefits": 5357440,
    "other": 2003872,
    "total": 9909450
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 2548138,
    "benefits": 5357440,
    "other": 2003872,
    "total": 9909450
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 7032696,
    "benefits": 941745,
    "other": 1770613,
    "total": 9745054
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 5958386,
    "benefits": 941745,
    "other": 636254,
    "total": 7536385
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 714261,
    "benefits": 0,
    "other": 775491,
    "total": 1489752
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 360049,
    "benefits": 0,
    "other": 358868,
    "total": 718917
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 2286487,
    "benefits": 0,
    "other": 6124020,
    "total": 8410507
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1264898,
    "benefits": 0,
    "other": 877046,
    "total": 2141944
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 190839,
    "benefits": 0,
    "other": 1584331,
    "total": 1775170
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 3224600,
    "total": 3224600
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 830750,
    "benefits": 0,
    "other": 438043,
    "total": 1268793
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 580531,
    "benefits": 0,
    "other": 291929,
    "total": 872460
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 160840,
    "total": 160840
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 391385,
    "benefits": 0,
    "other": 105333,
    "total": 496718
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 189146,
    "benefits": 0,
    "other": 25756,
    "total": 214902
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 2431338,
    "benefits": 0,
    "other": 664161,
    "total": 3095499
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 883803,
    "benefits": 0,
    "other": 177841,
    "total": 1061644
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 1547535,
    "benefits": 0,
    "other": 486320,
    "total": 2033855
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 32913243,
    "benefits": 16033250,
    "other": 8860071,
    "total": 57806564
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 32913243,
    "benefits": 16033250,
    "other": 8860071,
    "total": 57806564
   },
   {
    "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": 8554569,
    "total": 8554569
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 8554569,
    "total": 8554569
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 1061896,
    "total": 1061896
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 1061896,
    "total": 1061896
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 805572,
    "benefits": 0,
    "other": 836918,
    "total": 1642490
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 805572,
    "benefits": 0,
    "other": 836918,
    "total": 1642490
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 48598005,
    "benefits": 22332435,
    "other": 30168049,
    "total": 101098489
   }
  ]
 }
}