2020PB / police-brutality

Repository containing evidence of police brutality during the 2020 George Floyd protests
MIT License
2.62k stars 209 forks source link

API Notifications and Updates for Integrators #504

Open MikeCraig418 opened 4 years ago

MikeCraig418 commented 4 years ago

Are you currently integrating with 2020PB data? Subscribe to this issue to be notified when the official data feed receives new features, new data feeds become available, or ancillary APIs are updated.

JSON-V2 / CSV / MD API to build your own front end

RESTful API that includes geolocation data

REST API that points to backed-up video files

hossain-khan commented 4 years ago

Subscribed to it 👍 . Quick question about the RESTful API, is it maintained by the same 2020PB community? or it's individual effort to provide convenient API for the same data set?

EDIT: Sorry, I just noticed that @949mac is the owner of the RESTful API repository 😊. I also posted some questions on that repo.

MikeCraig418 commented 4 years ago

@amardeshbd, My API pulls directly from the data feed that @ubershmekel wrote. I'm actively involved with the team here :) And will continue to support them and you.

Happy coding!

nickatnight commented 4 years ago

What a champ @949mac hell ya

jlev commented 4 years ago

I've also set up a site to map and provide more local context and actions for readers (mayor and chief of police phone numbers, military equipment transferred under 1033). It's using the API from @nickatnight, but I can switch to using GitHub hosted json directly if that's preferable. Gatsby is pretty flexible...

https://policebrutality.media/

MikeCraig418 commented 4 years ago

@jlev - Thanks for integrating! Your project looks great. Can you show me an example of the 1033 transfer? That sounds interesting.

jlev commented 4 years ago

The 1033 program is where local police departments get surplus military equipment from the Defense Logistics Agency. They issue quarterly reports at https://www.dla.mil/DispositionServices/Offers/Reutilization/LawEnforcement/PublicInformation/ in a huge excel file.

Marshall Project has scripts to clean the file and all the quarterly reports archived from 2014-2020 https://github.com/themarshallproject/dod1033

@dannguyen is doing a bunch of work to clean that up and export to CSV by state and agency. https://github.com/dannguyen/dod-leso-1033-data

ubershmekel commented 4 years ago

The v2 data json is live at https://raw.githubusercontent.com/2020PB/police-brutality/data_build/all-locations-v2.json

New things are:

Gonna update a few of the links soon, and update the readme

hossain-khan commented 4 years ago

This is incredible as to how all the incident now has description! Amazing work by the community! 🙏

Here is a visual diff of schema change for v2

json-schema-visual-diff

@949mac do you have any plan to integrate this into the existing 846-backend? I think this also needs to be versioned because of the link description.

nickatnight commented 4 years ago

@ubershmekel wow nice chief! Can't wait to integrate this into my api