{
 "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 Preston, including department detail.",
  "town_scope_note": "`function_totals` covers Preston 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 Preston: 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": "Preston",
 "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": 589558,
    "benefits": 326982,
    "other": 388188,
    "total": 1304728
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 589558,
    "benefits": 326982,
    "other": 388188,
    "total": 1304728
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 803415,
    "benefits": 18315,
    "other": 192205,
    "total": 1013935
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 350085,
    "benefits": 0,
    "other": 573,
    "total": 350658
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 428991,
    "benefits": 18315,
    "other": 191632,
    "total": 638938
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 24339,
    "benefits": 0,
    "other": 0,
    "total": 24339
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 288733,
    "benefits": 175505,
    "other": 309505,
    "total": 773743
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 288733,
    "benefits": 175505,
    "other": 188912,
    "total": 653150
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 120593,
    "total": 120593
   },
   {
    "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": 81231,
    "benefits": 27947,
    "other": 60115,
    "total": 169293
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 30842,
    "benefits": 0,
    "other": 0,
    "total": 30842
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 50389,
    "benefits": 27947,
    "other": 31994,
    "total": 110330
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 28121,
    "total": 28121
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 151903,
    "benefits": 52085,
    "other": 146392,
    "total": 350380
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 91286,
    "benefits": 18465,
    "other": 52222,
    "total": 161973
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 60617,
    "benefits": 33620,
    "other": 29391,
    "total": 123628
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 64779,
    "total": 64779
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 5498776,
    "benefits": 1665814,
    "other": 4629802,
    "total": 11794392
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 5498776,
    "benefits": 1665814,
    "other": 4629802,
    "total": 11794392
   },
   {
    "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": 805598,
    "total": 805598
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 805598,
    "total": 805598
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 5950,
    "total": 5950
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 5950,
    "total": 5950
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 0,
    "other": 155329,
    "total": 155329
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 155329,
    "total": 155329
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 7413616,
    "benefits": 2266648,
    "other": 6693084,
    "total": 16373348
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 540905,
    "benefits": 592702,
    "other": 524183,
    "total": 1657790
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 540905,
    "benefits": 592702,
    "other": 524183,
    "total": 1657790
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 854519,
    "benefits": 18317,
    "other": 199492,
    "total": 1072328
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 335785,
    "benefits": 0,
    "other": 0,
    "total": 335785
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 495949,
    "benefits": 18317,
    "other": 199492,
    "total": 713758
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 22785,
    "benefits": 0,
    "other": 0,
    "total": 22785
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 311179,
    "benefits": 0,
    "other": 306551,
    "total": 617730
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 311179,
    "benefits": 0,
    "other": 306551,
    "total": 617730
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "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": 179780,
    "total": 179780
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 59236,
    "total": 59236
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 120544,
    "total": 120544
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 185426,
    "benefits": 32254,
    "other": 209768,
    "total": 427448
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 112390,
    "benefits": 32254,
    "other": 51949,
    "total": 196593
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 73036,
    "benefits": 0,
    "other": 36231,
    "total": 109267
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 121588,
    "total": 121588
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 5603210,
    "benefits": 1732026,
    "other": 5761711,
    "total": 13096947
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 5603210,
    "benefits": 1732026,
    "other": 5761711,
    "total": 13096947
   },
   {
    "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": 797453,
    "total": 797453
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 797453,
    "total": 797453
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 5000,
    "total": 5000
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 5000,
    "total": 5000
   },
   {
    "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": 7495239,
    "benefits": 2375299,
    "other": 7983938,
    "total": 17854476
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 530995,
    "benefits": 697625,
    "other": 527118,
    "total": 1755738
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 530995,
    "benefits": 697625,
    "other": 527118,
    "total": 1755738
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 561989,
    "benefits": 15131,
    "other": 433297,
    "total": 1010417
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 524682,
    "benefits": 15131,
    "other": 191769,
    "total": 731582
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 37307,
    "benefits": 0,
    "other": 241528,
    "total": 278835
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 279701,
    "benefits": 0,
    "other": 341646,
    "total": 621347
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 279701,
    "benefits": 0,
    "other": 341646,
    "total": 621347
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "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": 28733,
    "benefits": 0,
    "other": 183112,
    "total": 211845
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 59904,
    "total": 59904
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 28733,
    "benefits": 0,
    "other": 123208,
    "total": 151941
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 221905,
    "benefits": 27724,
    "other": 145625,
    "total": 395254
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 104715,
    "benefits": 27724,
    "other": 52164,
    "total": 184603
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 60014,
    "benefits": 0,
    "other": 35467,
    "total": 95481
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 57176,
    "benefits": 0,
    "other": 57994,
    "total": 115170
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 7204005,
    "benefits": 2843629,
    "other": 3361329,
    "total": 13408963
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 7204005,
    "benefits": 2843629,
    "other": 3361329,
    "total": 13408963
   },
   {
    "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": 777867,
    "total": 777867
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 777867,
    "total": 777867
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 9090,
    "total": 9090
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 9090,
    "total": 9090
   },
   {
    "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": 8827328,
    "benefits": 3584109,
    "other": 5779084,
    "total": 18190521
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 541081,
    "benefits": 750573,
    "other": 569780,
    "total": 1861434
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 541081,
    "benefits": 750573,
    "other": 569780,
    "total": 1861434
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 546575,
    "benefits": 29600,
    "other": 514360,
    "total": 1090535
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 0,
    "benefits": 0,
    "other": 281816,
    "total": 281816
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 503337,
    "benefits": 29600,
    "other": 197798,
    "total": 730735
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 43238,
    "benefits": 0,
    "other": 34746,
    "total": 77984
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 304364,
    "benefits": 0,
    "other": 591374,
    "total": 895738
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 304364,
    "benefits": 0,
    "other": 591374,
    "total": 895738
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "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": 67117,
    "benefits": 0,
    "other": 105182,
    "total": 172299
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 59904,
    "total": 59904
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 67117,
    "benefits": 0,
    "other": 45278,
    "total": 112395
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 204825,
    "benefits": 32162,
    "other": 98421,
    "total": 335408
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 113941,
    "benefits": 32162,
    "other": 56439,
    "total": 202542
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 90884,
    "benefits": 0,
    "other": 41982,
    "total": 132866
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 6213944,
    "benefits": 2039287,
    "other": 6390602,
    "total": 14643833
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 6213944,
    "benefits": 2039287,
    "other": 6390602,
    "total": 14643833
   },
   {
    "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": 755501,
    "total": 755501
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 755501,
    "total": 755501
   },
   {
    "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": 7877906,
    "benefits": 2851622,
    "other": 9025220,
    "total": 19754748
   }
  ]
 }
}