This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Get data from the NYC Crime Map, and save them as geojson and CSV files.

Getting data I have already saved

If you just want to get the data in geojson or CSV format, go to http://dada.pink/nyc-crime-map-data/.

Running the program

If you want to run the program, perhaps to get the most recent data, you can run the program. I present a couple ways of doing this.

Installing from PyPI

You can install the package like so

sudo pip install nyc-crime-map

and then run it like so.

nyc-crime-map

A data directory will be created inside your working directory, and you’ll find the results here.

cat nyc-crime-map/data/02378420399528461352-17772055697785505571.geojson
cat nyc-crime-map/data/02378420399528461352-17772055697785505571.csv

Running from the checked-out repository

Perhaps you don’t have pip installed; in that case, you can do this.

git clone git://github.com/tlevine/nyc-crime-map.git --recursive

# Delete the cached data.
rm nyc-crime-map/data/all_results/*

# Run the program.
cd nyc-crime-map
./nyc-crime-map

# View the results.
cat nyc-crime-map/data/02378420399528461352-17772055697785505571.geojson
cat nyc-crime-map/data/02378420399528461352-17772055697785505571.csv

More about the data

The data are stored in two tables.

  • 02378420399528461352-11853667273131550346
  • 02378420399528461352-17772055697785505571

The latter of these tables contains a “CR” field for the crime type; the former does not.

Read at http://thomaslevine.com/!/nyc-crime-map/.

Release History

Release History

0.3.2

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.3.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.3

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
nyc-crime-map-0.3.2.tar.gz (3.5 kB) Copy SHA256 Checksum SHA256 Source May 13, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting