Get people appearing with a list of people from NewsReader
✓ Published0🌍 Public
IIanHopkinson
Last edited Jun 6, 2014
Created on Jun 6, 2014
This visualization maps the co-occurrence of people mentioned in news articles, showing which individuals appear alongside a list of queried names from NewsReader. The code retrieves data by iterating through paginated JSON requests to the NewsReader API, using the `requests` library to fetch actor pairs and their associated event counts. It filters results for names like David Beckham and Sepp Blatter, saving each co-occurrence record via `scraperwiki.sqlite` into an "actors" table. The example demonstrates a network-style data pipeline where connections between people are extracted from structured news metadata, though it does not include any client-side rendering or charting library.
AI-generated description