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
60 stars 60 forks source link

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

Open ryanfchase opened 2 months ago

ryanfchase commented 2 months ago

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)

Useful Links

ryanfchase commented 2 months ago

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

ryanfchase commented 2 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 2 months ago

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

ryanfchase commented 2 months ago

This ticket is ready to be picked up

ryanfchase commented 3 weeks 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 1 week ago

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