Skip to content

Serverless function to pull crime data from South Florida police departments via Amazon Lambda. Built with the Serverless framework.

Notifications You must be signed in to change notification settings

SunSentinel/crime-datamaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crime datamaker

This is a collection of the scrapers and parsers powering the South Florida Sun Sentinel's police incident maps. It runs on Lambda using the Serverless framework. The scripts currently grab Fort Lauderdale and Delray Beach's incident data, but more departments may be added in the future.

Prerequisites

Installing

TKTKTK

The script

Right now, handler.py is the main function. Other scrapers/parsers can be added to this file, but we may break it up into separate files if it gets more complex in the future.

Configuring

Configuration for the Lambda function for deployment and scheduling is done in the serverless.yml file. A list of all available properties can be found here.

Deploying

After you build your scripts, run

serverless deploy

...and that's it!

Running the function remotely

Run

serverless invoke -f makedata --log

About

Serverless function to pull crime data from South Florida police departments via Amazon Lambda. Built with the Serverless framework.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages