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, MBA is a marketing professional who currently works in industry for Away Clinic and Metascience & Marketing Lab and lives in Mesa, Arizona, USA. He is formerly an academic and still takes interest in improving the quality of research in the field of marketing.
Leave a Reply