{
 "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 Thompson, including department detail.",
  "town_scope_note": "`function_totals` covers Thompson 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 Thompson: 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": "Thompson",
 "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": 716494,
    "benefits": 399492,
    "other": 362742,
    "total": 1478728
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 716494,
    "benefits": 399492,
    "other": 362742,
    "total": 1478728
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 69506,
    "benefits": 38754,
    "other": 637625,
    "total": 745885
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 22996,
    "benefits": 12822,
    "other": 616560,
    "total": 652378
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 46510,
    "benefits": 25932,
    "other": 21065,
    "total": 93507
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 765251,
    "benefits": 426676,
    "other": 842423,
    "total": 2034350
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 578905,
    "benefits": 322777,
    "other": 585660,
    "total": 1487342
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 110946,
    "benefits": 61859,
    "other": 251957,
    "total": 424762
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 75400,
    "benefits": 42040,
    "other": 4806,
    "total": 122246
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 2535,
    "benefits": 1413,
    "other": 169108,
    "total": 173056
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 48762,
    "total": 48762
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 0,
    "benefits": 0,
    "other": 118872,
    "total": 118872
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 2535,
    "benefits": 1413,
    "other": 1474,
    "total": 5422
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 375124,
    "benefits": 209156,
    "other": 213922,
    "total": 798202
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 305421,
    "benefits": 170292,
    "other": 191474,
    "total": 667187
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 69703,
    "benefits": 38864,
    "other": 15083,
    "total": 123650
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 7365,
    "total": 7365
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 10138734,
    "benefits": 5857151,
    "other": 5232170,
    "total": 21228055
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 10138734,
    "benefits": 5857151,
    "other": 5232170,
    "total": 21228055
   },
   {
    "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": 1229187,
    "total": 1229187
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 1229187,
    "total": 1229187
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 247427,
    "total": 247427
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 247427,
    "total": 247427
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 127600,
    "benefits": 71145,
    "other": 42957,
    "total": 241702
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 127600,
    "benefits": 71145,
    "other": 42957,
    "total": 241702
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 12195244,
    "benefits": 7003787,
    "other": 8977561,
    "total": 28176592
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 744130,
    "benefits": 223239,
    "other": 58639,
    "total": 1026008
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 744130,
    "benefits": 223239,
    "other": 58639,
    "total": 1026008
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 110578,
    "benefits": 15174,
    "other": 645873,
    "total": 771625
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 25623,
    "benefits": 7687,
    "other": 633670,
    "total": 666980
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 84955,
    "benefits": 7487,
    "other": 12203,
    "total": 104645
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 708201,
    "benefits": 212460,
    "other": 690550,
    "total": 1611211
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 608170,
    "benefits": 182451,
    "other": 593873,
    "total": 1384494
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 100031,
    "benefits": 30009,
    "other": 96677,
    "total": 226717
   },
   {
    "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": 2537,
    "benefits": 0,
    "other": 154396,
    "total": 156933
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 54021,
    "total": 54021
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 0,
    "benefits": 0,
    "other": 100375,
    "total": 100375
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 2537,
    "benefits": 0,
    "other": 0,
    "total": 2537
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 377600,
    "benefits": 102604,
    "other": 114937,
    "total": 595141
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 308586,
    "benefits": 95703,
    "other": 97823,
    "total": 502112
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 69014,
    "benefits": 6901,
    "other": 7749,
    "total": 83664
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 9365,
    "total": 9365
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 9111300,
    "benefits": 3416076,
    "other": 8367066,
    "total": 20894442
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 9111300,
    "benefits": 3416076,
    "other": 8367066,
    "total": 20894442
   },
   {
    "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": 1113036,
    "total": 1113036
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 1113036,
    "total": 1113036
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 6030,
    "total": 6030
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 6030,
    "total": 6030
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 618826,
    "benefits": 185648,
    "other": 625297,
    "total": 1429771
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 618826,
    "benefits": 185648,
    "other": 625297,
    "total": 1429771
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 11673172,
    "benefits": 4155201,
    "other": 11775824,
    "total": 27604197
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 840797,
    "benefits": 252819,
    "other": 66105,
    "total": 1159721
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 840797,
    "benefits": 252819,
    "other": 66105,
    "total": 1159721
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 131113,
    "benefits": 16934,
    "other": 981302,
    "total": 1129349
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 38551,
    "benefits": 8582,
    "other": 656302,
    "total": 703435
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 92562,
    "benefits": 8352,
    "other": 325000,
    "total": 425914
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 717758,
    "benefits": 215327,
    "other": 770679,
    "total": 1703764
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 615242,
    "benefits": 184572,
    "other": 579661,
    "total": 1379475
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 102516,
    "benefits": 30755,
    "other": 191018,
    "total": 324289
   },
   {
    "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": 0,
    "benefits": 0,
    "other": 170665,
    "total": 170665
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 58026,
    "total": 58026
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 0,
    "benefits": 0,
    "other": 112639,
    "total": 112639
   },
   {
    "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": 378664,
    "benefits": 99173,
    "other": 141793,
    "total": 619630
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 306277,
    "benefits": 91883,
    "other": 105539,
    "total": 503699
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 72387,
    "benefits": 7290,
    "other": 8676,
    "total": 88353
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 27578,
    "total": 27578
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 9535176,
    "benefits": 3148429,
    "other": 9164713,
    "total": 21848318
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 9535176,
    "benefits": 3148429,
    "other": 9164713,
    "total": 21848318
   },
   {
    "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": 6375067,
    "total": 6375067
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 6375067,
    "total": 6375067
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 217139,
    "total": 217139
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 217139,
    "total": 217139
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 639339,
    "benefits": 191949,
    "other": 645247,
    "total": 1476535
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 639339,
    "benefits": 191949,
    "other": 645247,
    "total": 1476535
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 12242847,
    "benefits": 3924631,
    "other": 18532710,
    "total": 34700188
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 800275,
    "benefits": 244529,
    "other": 66690,
    "total": 1111494
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 800275,
    "benefits": 244529,
    "other": 66690,
    "total": 1111494
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 119560,
    "benefits": 13514,
    "other": 906584,
    "total": 1039658
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 35348,
    "benefits": 7277,
    "other": 604041,
    "total": 646666
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 84212,
    "benefits": 6237,
    "other": 302543,
    "total": 392992
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 755602,
    "benefits": 218881,
    "other": 762666,
    "total": 1737149
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 627111,
    "benefits": 187612,
    "other": 521202,
    "total": 1335925
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 128491,
    "benefits": 31269,
    "other": 241464,
    "total": 401224
   },
   {
    "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": 0,
    "benefits": 0,
    "other": 187048,
    "total": 187048
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 63035,
    "total": 63035
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 0,
    "benefits": 0,
    "other": 124013,
    "total": 124013
   },
   {
    "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": 377742,
    "benefits": 98459,
    "other": 143048,
    "total": 619249
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 305909,
    "benefits": 91648,
    "other": 104653,
    "total": 502210
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 71833,
    "benefits": 6811,
    "other": 9289,
    "total": 87933
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 29106,
    "total": 29106
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 10339346,
    "benefits": 2799755,
    "other": 9434257,
    "total": 22573358
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 10339346,
    "benefits": 2799755,
    "other": 9434257,
    "total": 22573358
   },
   {
    "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": 1316908,
    "total": 1316908
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 1316908,
    "total": 1316908
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 38582,
    "total": 38582
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 38582,
    "total": 38582
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 0,
    "other": 1530455,
    "total": 1530455
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 1530455,
    "total": 1530455
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 12392525,
    "benefits": 3375138,
    "other": 14386238,
    "total": 30153901
   }
  ]
 }
}