Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Latest commit

 

History

History
24 lines (21 loc) · 950 Bytes

README.md

File metadata and controls

24 lines (21 loc) · 950 Bytes

NN-Police-Socrata

Gathers Newport News Police Open Data for syndication to Socrata. This is currently a prototype as a potential solution to NDoCH-207 Issue #5

Crime data from Newport News is published online as downloadable CSV. Syndicating into Socrata would make it more accessible.

https://www.nnva.gov/2229/Open-Data

Current Status 10/1 @ 23:34

  • Cron jobs configured
  • API routes are guarded by a secret key
  • API route starts all cron jobs
  • API route stops all cron jobs
  • API route stops specific cron jobs
  • API route starts specific cron jobs
  • Help page available with api root/key

To-Do

  • Write fetcher for cron jobs to fire off and grab CSV data
  • Parse data for Socrata syndication
  • Hash files to verify new data
  • Clean up API responses with Pug templates
  • Write unit tests
  • Write logging
  • test functionality