14,170 McDonald's Restaurant Locations
Did you know there are about fourteen thousand McDonald’s stores in the USA? 14,170 in fact, according to a script I cooked up this past weekend.
I utilized MongoDB, Node.js, and a knowledge of REST APIs to get what I believe to be all the McDonald’s locations in the US, based on the public McDonald’s Restaurant Locator.
This gave me a CSV file with the McDonald’s locations and a lot of metadata, like this:
I then used my other project, CSV to GeoJSON, to create a GeoJSON file from the CSV. This GeoJSON file is available on my GitHub account, if you’d like to use or see a map the data.
References
- Underunderstood Podcast (2019)
Written by Gavin Rehkemper on
Subscribe
Get an email summary of my blog posts (four per year):
... or follow the blog here: