-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Labels
Description
- similar to OpenPoliceData scraper #242
The National Police Data Coalition is similar to PDAP. Our missions overlap—we keep track of the location of data, while they collect and parse certain record types into incident-level data.
We should be able to create Data Sources in our database corresponding to their areas of coverage. If a user searches for "Texas" or "California" in our db, they should see that NPDC has incident-level data available about particular places.
Resources
- register: https://dev.nationalpolicedata.org/register
- use the network tab to get an access token
- API: https://npdindex.readme.io/reference/getcomplaints
- if we have specific questions or ideas about how their API could be improved, NPDC is open to hearing from us
Working on this issue
This is a flexible issue, so these are guidelines.
- sign up for an account and use their API to get a list of Agencies
- using the Complaints endpoint, reverse-engineer a list of Agencies which have complaints → map them to our Agencies
- Complaints → Officers → Units → Agencies → Locations
- create a PDAP Data Source for NPDI which is associated with multiple agencies
- or, create a Data Source for each agency
- keep the Source(s) up to date using their API and github actions