/sacramento-pd-daily-activity-log

A machine readable dataset scraped from the Sacramento Police Department's Daily Activity Log, updated daily

Primary LanguageTypeScript

Sacramento PD daily activity log

A machine readable dataset scraped from the Sacramento Police Department's Daily Activity Log.

Scrape police activity log data

Running

deno run --allow-read=incidents.json --allow-write=incidents.json --allow-net ./scrape.ts

Options

  • --days=<INT> - set the number of days of data to scrape, defaults to 100
  • --skip-existing=<BOOL> - skip scraping days when we already have incidents for that date, defaults to true