-
-
Notifications
You must be signed in to change notification settings - Fork 72
DEV - Unify 2025 and 2026 311 Data Schemas #2077
Copy link
Copy link
Open
Labels
Complexity: Mediumrequire research/investigation before completing; internal team info/input or external team questionrequire research/investigation before completing; internal team info/input or external team questionFeature: Data Qualityrelated to data presentation or analysis for internal use, evaluation or improvementrelated to data presentation or analysis for internal use, evaluation or improvementRole: FrontendReact front end workReact front end workfeature: data-bound componentThis UI element is attached to a particular data source, and certain elements may change as a resultThis UI element is attached to a particular data source, and certain elements may change as a resultp-feature: datainfo available to users i.e. NC boundaries/names, SR info/data, etc (user friendly map info/data)info available to users i.e. NC boundaries/names, SR info/data, etc (user friendly map info/data)size: 3ptCan be done in 13-18 hoursCan be done in 13-18 hours
Milestone
Metadata
Metadata
Assignees
Labels
Complexity: Mediumrequire research/investigation before completing; internal team info/input or external team questionrequire research/investigation before completing; internal team info/input or external team questionFeature: Data Qualityrelated to data presentation or analysis for internal use, evaluation or improvementrelated to data presentation or analysis for internal use, evaluation or improvementRole: FrontendReact front end workReact front end workfeature: data-bound componentThis UI element is attached to a particular data source, and certain elements may change as a resultThis UI element is attached to a particular data source, and certain elements may change as a resultp-feature: datainfo available to users i.e. NC boundaries/names, SR info/data, etc (user friendly map info/data)info available to users i.e. NC boundaries/names, SR info/data, etc (user friendly map info/data)size: 3ptCan be done in 13-18 hoursCan be done in 13-18 hours
Type
Projects
Status
In progress
Overview
We need to support both 2025-and-earlier and 2026 service request data contracts by normalizing them into a single internal schema. The current codebase assumes the 2025 contract, which is no longer valid for newer data.
More Info (optional)
The 2026 MyLA311 dataset introduces a different data contract (field renames, type changes, removed fields, and Salesforce-style custom fields). While the datasets represent the same conceptual entities, they cannot be treated as backward-compatible. To integrate 2026 data into our map, we need combine both contracts into a unified internal schema.
Action Items
def normalize(year: str) -> ServiceRequestStruct:)normalize(2025),normalize(2024), ...normalize(2026)Resources/Instructions