hackforla / 311-data

Empowering Neighborhood Associations to improve the analysis of their initiatives using 311 data
https://hackforla.github.io/311-data/
GNU General Public License v3.0
62 stars 64 forks source link

Adjust data cleaning script to prune data points outside of LA Neighborhood Districts #1708

Closed ryanfchase closed 1 month ago

ryanfchase commented 7 months ago

Dependency

Overview

We need to remove 311 Data service requests on our map that do not fall within the boundaries of a Neighborhood Council since they are inaccessible and mostly confuse the users

Action Items

Screenshot of requests outside NC boundaries

![image](https://github.com/hackforla/311-data/assets/6414668/4311704d-814d-461b-8abc-2963f5c4ed93)

Last Updated Date 10/23/2024:

Useful Links

ryanfchase commented 7 months ago

Adjusting this ticket, most likely @mru-hub will pick this up once there is enough instructions to get started

ryanfchase commented 6 months ago

Note: I'm realizing that we may need to do work to prune old data. Adding a check into our cleaning logic will simply stop new data (e.g. requests falling outside NC boundaries) from being added -- we'll still need to handle old data that has the same problem.

Follow up ticket: Make sure we are cleaning 2023 and prior data with the same logic

ryanfchase commented 6 months ago

Note for Ryan: provide an example resource of checking if a Lat/Long is within a provided boundary in Duckdb

ryanfchase commented 6 months ago

This ticket is ready to be picked up

ryanfchase commented 5 months ago

@mru-hub's update from this previous week is on the PR: https://github.com/hackforla/311-data/pull/1736#issuecomment-2164259492

ryanfchase commented 5 months ago

Latest PR: https://github.com/hackforla/311-data/pull/1744

ryanfchase commented 2 months ago

Update: added dependency for needing 2024 NC boundary json file