Full screen version here.
A python script was developed to interface with Google’s geocoding service to cycle through and find latitude/longitude based on address for each licensed location. In some cases, the address on file with the TABC didn’t play nice with Google and had to be tweaked a little bit manually to find something that worked. As a result, a few of these points are likely slightly off from actual location but the vast majority are complete accurate to the street address level.
Lastly, I cycled through the points in the datalayer to create a matching set of points in a heatmap layer via the visualization library. A toggle button was added to allow switching back and forth between the heatmap and individual point layer. The toggle has a little bit of delay due to the large number of datapoints involved.
We’ll use this dataset for some additional analysis in future posts.