Blog
Ideas-of-Interest

Data Demos: SafeGraph Core Places Python Starter Notebook

August 27, 2019
by
Ryan Fox Squire

Working with SafeGraph Places Data in python? We want you to hit the ground running.

Here is an example Google CoLab notebook pre-loaded with some data from SafeGraph Core Places* to show how you can interact with and analyze some of the columns in SafeGraph Core Places.

You can open this notebook in your browser and work interactively with the data and the notebook in real time! This is an ephemeral copy that only you can see and edit. Please tinker with it!

This notebook shows you how to answer questions like:

  • How many restaurants are there in Ohio?
  • What is the ratio of quick-service to full-service restaurants in Ohio?
  • What are the most common words used in restaurant names?
  • Which cities in Ohio have the fewest restaurants per capita?
  • Which chain restaurants have the largest number of locations that are open 24–7?
  • Which chain restaurants are open the most hours / week?

And shows example analyses with many of the columns in SafeGraph Core Places:

  • safegraph_place_id
  • naics_code, top_category, and sub_category
  • location_name
  • brands
  • city
  • open_hours

To open an interactive ephemeral copy of the notebook, click here.

Want to see a different question answered with SafeGraph data?

Please send us your ideas, feedback, bug discoveries, and suggestions to [email protected]

We hope this notebook provides some useful tips and inspiration for working with SafeGraph Core Places data. Go crunch some numbers!

To get your own sample of SafeGraph data, use code CorePlacesStarterNotebook at the SafeGraph Data Bar.

Ryan Fox Squire
Ryan Fox Squire
Product & Data Science
TwitterLinkedin