This is a good task for a marketing analytics course. It’s very easy to map out where customers are coming from. Why would you do that? So many reasons! So you know where to market to, where to add new locations, etc.
This simple code below uses R software.
Acknowledgment: I used some code from Joshua Ebner to get started. His code seems to still work but I just didn’t want to deal with Google Maps API so I tweaked it a bit.
Aaron Charlton, PhD is a former academic, who now works in industry providing SEO services for doctors and home services in Flagstaff, Arizona.

Leave a Reply