Maps and Twitter data

Analyzing Social Media Data in Python

Alex Hanna

Computational Social Scientist

Why maps?

Warriors vs. Lakers

  • Geographical scope
    • Participants or observers?
  • Differentiating tweets
    • For or against?
Analyzing Social Media Data in Python

How Twitter gets location data

Sherman county

  • Location is device-dependent
  • In practice, aggregate geographical to county, state-level
Analyzing Social Media Data in Python

Beware selection biases!

  • Warning: only 1-3% of Twitter data have geographical data
  • Limits the generalizability of inference
Analyzing Social Media Data in Python

Types of geographical data available in Twitter

  • Twitter text (most imprecise)
  • User location
  • Bounding boxes
  • Coordinates and points (most precise)
Analyzing Social Media Data in Python

Let's practice!

Analyzing Social Media Data in Python

Preparing Video For Download...