Skip to content

byuibigdata/project_safegraph

Repository files navigation

SafeGraph Semester Project

  1. Please read the Statement of Need that your team will need to leverage to write your work proposal.
  2. Use the team_repo template for your writeup and submission.
    • Please make sure your team repo is private.
    • You will need to share your repo with me, hathawayj, and the current semester team.

Scripts

The scripts in this template repository can help you get a picture of digesting the SafeGraph format.

This script depends on the Tidyverse and has two parsing functions at the top. There are some examples throughout the script of the issues with handling the SafeGraph data. The final dat_all object provides the full call that processes the data into a clean nested Tibble.

This script depends on the safegraph_functions.py file for some functions that can parse the nested dictionaries and lists within the POI. The Python functions create new data objects of the list and dictionary variables within the dataset.

This file creates .parquet files for upload for our cloud compute. In addition, it breaks all the nested data out into their own tables.

SafeGraph Guides

You can see a Colab notebook that guides you through parsing data from shop.safegraph.com. As students and faculty, we get free access to the POI, patterns, and polygons data. Please register here.

SafeGraph has a a light technical quickstart guide to working with POI and Mobility data downloaded from the SafeGraph Shop, the self-serve source for hundreds of datasets about physical places. The goal of their guide is to get you working effectively with the SafeGraph data as fast as possible.

They filmed a series of YouTube videos which provide context for each step:

They recommend joining the SafeGraph Community Slack Channel, a fantastic resource for live, in-person support. Finally, check out their documentation for an exhaustive guide to our data.

SafeGraph Representativeness

SafeGraph has done some work to assess how representative its sample of devices is of the entire population. Specifically, check out the Measure and Correct Sampling Bias section of the Data Science Resources. A recent external audit was done that might also be of value. The audit finds SafeGraph’s panel underrepresents older people and minorities. We hope that normalization techniques correct for some of that bias, but it is still an important consideration. ref

Open Census Neighborhood Demographics Data

SafeGraph API Notes

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published