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.

Click here to see the map!

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: csv-mcdonalds

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

  1. Underunderstood Podcast (2019)

Get an email summary of my blog posts (four per year):

Join email newsletter

... or follow the blog here:

See Also