Maps, SpatialKey

New SpatialKey Crime Example for San Francisco

We just posted a new example of using SpatialKey to visualize crime in San Francisco. We load in 90 days of crime data from the city, then filter down to only include sales of heroin, crack cocaine, and methamphetamine within 1,000 feet of a school. Why those particular crimes around schools? The SFPD just launched a new initiative called “Operation Safe Schools” that specifically targets these drug crimes. If you’re caught dealing crack, heroin, or meth around a school while the school is in session you can get extra prison time.

Check out the video below and read the full article on the SpatialKey blog.

Read the whole article on the SpatialKey blog to see how we put this together and learn more about the SFPD’s “Operation Safe Schools.” You can also watch the full resolution video on YouTube


  • I do a lot of work with San Francisco crime data, and one of the things that I've been struggling with is one particular dataset: the locations of all the driving under the influence (DUI) arrests in the city. Just yesterday there was an article about US Senators asking Apple…
    Tags: data, francisco, san, datasf, cime
  • I've been playing with different ways of representing data (see my previous night lights example) and I decided to venture into 3D representations. I've used a full year of crime data for San Francisco from 2009 to create these maps. The full dataset can be download from the city's DataSF…
    Tags: san, data, francisco, crime, drug, full, city, geospatial, datasf
  • Images courtesy of the Image Science & Analysis Laboratory, NASA Johnson Space Center As I was flying back home into San Francisco airport I was watching the city lights out the window and got struck by a bit of inspiration. I find cities beautiful, from the graffiti to the neon…
    Tags: city, data, san, francisco, crime, datasf

6 thoughts on “New SpatialKey Crime Example for San Francisco

  1. Jason says:

    Awesome work, Doug and everyone else involved.

    Did I tell you I have to have a towel handy every time I watch one of these now? Yea, I actually foam at the mouth. Get your mind out of the gutter 🙂 Keep up the great work.

  2. Pingback: Social Data Analysis « OpenSF Blog

  3. Pingback: Democratizzare l’analisi dei dati sociali | pratichesociali

Comments are closed.