Where do the most reported events happen?
SELECT action_geo_country_code, SUM(event_count) AS events FROM demo.geopolitics.gdelt_daily_country WHERE action_geo_country_code IS NOT NULL GROUP BY action_geo_country_code ORDER BY events DESC LIMIT 10
Daily totals from the GDELT event stream by the country where events took place: number of events, the articles reporting them, and summed tone. Country codes are FIPS 10-4 (UK is the United Kingdom, CH is China).
Live from the table, no sign-in needed.
SELECT day, action_geo_country_code, event_count, articles, tone_sum FROM demo.geopolitics.gdelt_daily_country LIMIT 10
Run any of these here, or open it in Studio to change the SQL. Studio is free to start: 100 queries a day.
SELECT action_geo_country_code, SUM(event_count) AS events FROM demo.geopolitics.gdelt_daily_country WHERE action_geo_country_code IS NOT NULL GROUP BY action_geo_country_code ORDER BY events DESC LIMIT 10
SELECT day, SUM(event_count) AS events, SUM(articles) AS articles FROM demo.geopolitics.gdelt_daily_country GROUP BY day ORDER BY day DESC LIMIT 7
| Column | Type |
|---|---|
| day | TIMESTAMP |
| action_geo_country_code | VARCHAR |
| tone_sum | FLOAT64 |
| articles | INT64 |
| event_count | INT64 |