Central Data Repository City of Sugar Land, Office of Data and Innovation
PRODUCTION
Brandon Hayes, Utilities Data Steward (Department Data Steward)
View as Administrator Data engineer Utilities steward Police steward

DS-04 Code enforcement cases closed within 30 days

Owner: Development Services. Unit: %. Reconciliation tolerance: 0.1. Target: 75.0 (higher is better).

Written definition

Source
EnerGov code cases
Calculation
Cases closed in the month that were open 30 days or less, divided by all cases closed in the month, times 100.
Inclusions
All violation types.
Exclusions
Open cases.
Time frame
Calendar month of closure.
Definition status
Accepted Office of Data and Innovation, 11/05/2026

As held in the legacy performance database (PerfDB)

Name
Code enforcement cases closed within 30 days
Note
Cases closed in the month that were open 30 days or less
Script
perf_ds_04.sql

CDR value against PerfDB

Calculation as run by the CDR

select date_trunc('month', closed_at)::date as month, 100.0 * avg(case when closed_at - opened_at <= interval '30 days' then 1 else 0 end) as value from curated.fact_code_case where closed_at is not null group by 1

Reproduce now from the curated layer Runs the SQL above against the current curated tables, read only.

Monthly reconciliation, latest run

MonthPerfDBCDRDifferenceResult
Oct 2025100.0100.0000.000Within tolerance
Nov 202578.178.065-0.035Within tolerance
Dec 202580.080.0000.000Within tolerance
Jan 202676.376.289-0.011Within tolerance
Feb 202680.380.3370.037Within tolerance
Mar 202674.574.468-0.032Within tolerance
Apr 202679.479.394-0.006Within tolerance
May 202684.784.663-0.037Within tolerance
Jun 202678.778.7100.010Within tolerance
Jul 202680.580.460-0.040Within tolerance
Aug 202676.876.796-0.004Within tolerance
Sep 202677.777.654-0.046Within tolerance
Oct 202676.276.2140.014Within tolerance

Reconciliation history

RunResultMonths
L-20261101-0100Within tolerance13
R-20261102-0200Within tolerance13
R-20261103-0200Within tolerance13
R-20261104-0200Within tolerance13
R-20261105-0200Within tolerance13
R-20261106-0200Within tolerance13
R-20261107-0200Within tolerance13
R-20261108-0200Within tolerance13
R-20261109-0200Within tolerance13
R-20261110-0200Within tolerance13
R-20261111-0200Within tolerance13

Data as of run R-20261111-0200, finished 11/11/2026 02:13 Central. Curated layer: curated schema.