• Bridge
  • Products
  • About
  • Random Thoughts Blog
  • Contact Us
  • Data Science Blog
    • Bridge
    • Products
    • About
    • Random Thoughts Blog
    • Contact Us
    • Data Science Blog
Enholm Heuristics

Enholm Heuristics

  • Bridge
  • Products
  • About
  • Random Thoughts Blog
  • Contact Us
  • Data Science Blog

Crime Analysis

Enholm Heuristics > Random Thoughts Blog > Crime Analysis
  • Crime Analysis
  • Data Science Blog
  • Products

Milepost GIS Location Estimation in R

  • December 22, 2017
  • jenholm
I was recently forced at gunpoint to estimate the positions of mileposts along the highways in Maricopa County. This was to estimate stops and arrest positions for law enforcement....
Continue Reading
  • Crime Analysis
  • Data Science Blog

Comparison of R and Python Parallel Computing in Address Geocoding

  • December 21, 2017
  • jenholm
I recently needed to process a bunch of addresses that our proprietary geocoding software was having a problem with. I won’t say the name of the geocoder, but it...
Continue Reading
  • Crime Analysis
  • Data Science Blog

R Function to Calculate Bearing Between Two Positions (lat-lon)

  • December 11, 2017
  • jenholm
An R function I had to write to calculate the true course/bearing between two lat lon positions. Note that the fossil R library has a function called earth.bear to...
Continue Reading
  • Crime Analysis
  • Data Science Blog

Build your own discrete event simulation framework in Python Part III

  • October 2, 2017
  • jenholm
In Part II, we added a queue and a PatrolCar class to our Python simulation to answer call events in our police patrol simulation. In this installment, we’ll add calls...
Continue Reading
  • Crime Analysis
  • Data Science Blog

Build your own discrete event simulation framework in Python Part II

  • September 25, 2017
  • jenholm
In Part I, we learned about creating a simple discrete event simulation controller in Python, using a clock that iterated over a minute counter and translated this minute counter...
Continue Reading
  • Crime Analysis
  • Data Science Blog

Build your own discrete event simulation framework in Python Part I

  • September 20, 2017
  • jenholm
The first question you might ask, is why the heck would you build your own simulation framework in Python? There’s a million of them, right? I wouldn’t say a...
Continue Reading
  • Crime Analysis
  • Data Science Blog
  • Uncategorized

Excel to R Transhipment Problem Optimization Tutorial Part II

  • September 11, 2017
  • jenholm
In this tutorial, I’ll finish the process of converting a simple Excel Transshipment problem that I wrote to minimize the traveling distance that a set of patrol cars would...
Continue Reading
  • Crime Analysis
  • Data Science Blog

Excel to R Transhipment Problem Optimization Tutorial Part I

  • September 8, 2017
  • jenholm
In this tutorial I’m going to go through creating an optimization model in Excel. The next part of the tutorial will be scaling a small optimization program into a...
Continue Reading
  • Crime Analysis

Crime Analysis Series: Manhattan Distance in R

  • July 17, 2017
  • jenholm
As you can see in the image embedded in this page, travel from downtown Phoenix to downtown Scottsdale involves several rectangular-like movements. Traveling in a city laid out in...
Continue Reading
  • Crime Analysis

Crime Analysis Series Calculating Great Circle Distance Between Two Points in R Using Haversine Formula

  • July 14, 2017
  • jenholm
I recently started working in crime analysis and started to need to use latitudes and longitudes and calculate the distances between them. For this calculation I used the Haversine...
Continue Reading

2025 Enholm Heuristics All Rights Reserved