{
 "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 East Granby, including department detail.",
  "town_scope_note": "`function_totals` covers East Granby 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 East Granby: 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": "East Granby",
 "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": 850498,
    "benefits": 0,
    "other": 1521166,
    "total": 2371664
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 850498,
    "benefits": 0,
    "other": 1521166,
    "total": 2371664
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 465300,
    "benefits": 0,
    "other": 448783,
    "total": 914083
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 406485,
    "benefits": 0,
    "other": 218256,
    "total": 624741
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 51834,
    "benefits": 0,
    "other": 166785,
    "total": 218619
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 6981,
    "benefits": 0,
    "other": 63742,
    "total": 70723
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 636796,
    "benefits": 0,
    "other": 307037,
    "total": 943833
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 593224,
    "benefits": 0,
    "other": 120520,
    "total": 713744
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 43572,
    "benefits": 0,
    "other": 186517,
    "total": 230089
   },
   {
    "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": 59105,
    "benefits": 0,
    "other": 65761,
    "total": 124866
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 33754,
    "total": 33754
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 59105,
    "benefits": 0,
    "other": 32007,
    "total": 91112
   },
   {
    "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": 54623,
    "benefits": 0,
    "other": 254048,
    "total": 308671
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 209000,
    "total": 209000
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 54623,
    "benefits": 0,
    "other": 45048,
    "total": 99671
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 9934121,
    "benefits": 2856865,
    "other": 6105133,
    "total": 18896119
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 9934121,
    "benefits": 2856865,
    "other": 6105133,
    "total": 18896119
   },
   {
    "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": 786840,
    "total": 786840
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 786840,
    "total": 786840
   },
   {
    "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": 12000443,
    "benefits": 2856865,
    "other": 9488768,
    "total": 24346076
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 895778,
    "benefits": 0,
    "other": 1524558,
    "total": 2420336
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 895778,
    "benefits": 0,
    "other": 1524558,
    "total": 2420336
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 478869,
    "benefits": 0,
    "other": 461412,
    "total": 940281
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 409632,
    "benefits": 0,
    "other": 217051,
    "total": 626683
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 69237,
    "benefits": 0,
    "other": 181702,
    "total": 250939
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 62659,
    "total": 62659
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 656558,
    "benefits": 0,
    "other": 306403,
    "total": 962961
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 613805,
    "benefits": 0,
    "other": 101869,
    "total": 715674
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 42753,
    "benefits": 0,
    "other": 204534,
    "total": 247287
   },
   {
    "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": 58829,
    "benefits": 0,
    "other": 68572,
    "total": 127401
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 35956,
    "total": 35956
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 58829,
    "benefits": 0,
    "other": 32616,
    "total": 91445
   },
   {
    "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": 55742,
    "benefits": 0,
    "other": 286740,
    "total": 342482
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 213800,
    "total": 213800
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 55742,
    "benefits": 0,
    "other": 72940,
    "total": 128682
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 10497176,
    "benefits": 2714942,
    "other": 6592856,
    "total": 19804974
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 10497176,
    "benefits": 2714942,
    "other": 6592856,
    "total": 19804974
   },
   {
    "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": 717740,
    "total": 717740
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 717740,
    "total": 717740
   },
   {
    "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": 12642952,
    "benefits": 2714942,
    "other": 9958281,
    "total": 25316175
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 925480,
    "benefits": 916794,
    "other": 742377,
    "total": 2584651
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 925480,
    "benefits": 916794,
    "other": 742377,
    "total": 2584651
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 539649,
    "benefits": 0,
    "other": 471994,
    "total": 1011643
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 441773,
    "benefits": 0,
    "other": 222625,
    "total": 664398
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 86657,
    "benefits": 0,
    "other": 197720,
    "total": 284377
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 11219,
    "benefits": 0,
    "other": 51649,
    "total": 62868
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 702049,
    "benefits": 0,
    "other": 378264,
    "total": 1080313
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 647828,
    "benefits": 0,
    "other": 119072,
    "total": 766900
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 54221,
    "benefits": 0,
    "other": 259192,
    "total": 313413
   },
   {
    "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": 23216,
    "benefits": 0,
    "other": 38695,
    "total": 61911
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 38480,
    "total": 38480
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 23216,
    "benefits": 0,
    "other": 215,
    "total": 23431
   },
   {
    "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": 59396,
    "benefits": 0,
    "other": 268395,
    "total": 327791
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 213800,
    "total": 213800
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 59396,
    "benefits": 0,
    "other": 54595,
    "total": 113991
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 10745476,
    "benefits": 2275807,
    "other": 7324550,
    "total": 20345833
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 10745476,
    "benefits": 2275807,
    "other": 7324550,
    "total": 20345833
   },
   {
    "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": 789363,
    "total": 789363
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 789363,
    "total": 789363
   },
   {
    "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": 12995266,
    "benefits": 3192601,
    "other": 10013638,
    "total": 26201505
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 922554,
    "benefits": 542224,
    "other": 1235683,
    "total": 2700461
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 922554,
    "benefits": 542224,
    "other": 1235683,
    "total": 2700461
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 602084,
    "benefits": 0,
    "other": 455408,
    "total": 1057492
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 521792,
    "benefits": 0,
    "other": 183868,
    "total": 705660
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 80292,
    "benefits": 0,
    "other": 208392,
    "total": 288684
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 63148,
    "total": 63148
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 682969,
    "benefits": 0,
    "other": 354423,
    "total": 1037392
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 621566,
    "benefits": 0,
    "other": 173655,
    "total": 795221
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 61403,
    "benefits": 0,
    "other": 180768,
    "total": 242171
   },
   {
    "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": 21792,
    "benefits": 0,
    "other": 42741,
    "total": 64533
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 41677,
    "total": 41677
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 21792,
    "benefits": 0,
    "other": 1064,
    "total": 22856
   },
   {
    "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": 62676,
    "benefits": 0,
    "other": 277264,
    "total": 339940
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 0,
    "benefits": 0,
    "other": 220437,
    "total": 220437
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 62676,
    "benefits": 0,
    "other": 56827,
    "total": 119503
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 10487853,
    "benefits": 2377415,
    "other": 8229692,
    "total": 21094960
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 10487853,
    "benefits": 2377415,
    "other": 8229692,
    "total": 21094960
   },
   {
    "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": 1356325,
    "total": 1356325
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 1356325,
    "total": 1356325
   },
   {
    "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": 12779928,
    "benefits": 2919639,
    "other": 11951536,
    "total": 27651103
   }
  ]
 }
}