police-data-trust
police-data-trust copied to clipboard
A national archive of police data collected by journalists, lawyers, and activists around the country.
Graviton performs better and consumes less power and therefore costs 20% less than intel systems. We can adopt it for our backend containers. Steps: - add `--platform=linux/arm64` to docker builds...
Extend the Flask API to read from a .jsonl file of scraped Officers data and insert it into the Postgres DB. **Is your feature request related to a problem? Please...
Extend the Flask API to read from a .jsonl file of scraped Commands data and insert it into the Postgres DB. **Is your feature request related to a problem? Please...
Use a cloudwatch/eventbridge scheduled event to run the scraper task once/week
For security's sake, these tasks should run on private subnets of the VPC.
1. Poll SQS queue 2. If a message exists in the queue 2a. change visibility to high `SQS.Client.change_message_visibility()` 2b. download from S3 at `parsed.Records[0].s3.bucket.name + "/" + parsed.Records[0].s3.object.key` and log...
-Added alembic migration to set up a Postgres materialized view for the search function to search relevant Officers, Agencies. -Migration handles insertions, deletions etc. to Agency, Officer Tables, and updates...
Added Location based search for officers and Agencies using Postgres full text search.
**Describe the Issue** We have a number of deprecation warnings showing up for python package that have passed their prime. We'll need to tackle these and move to processes that...