-
Notifications
You must be signed in to change notification settings - Fork 56
Description
Hi,
I'm using gdeltPyR to query the GDELT events table. I can successfully filter using fields like actor1countrycode or actor1code.
I would like to know if it's possible to directly query/filter events based on actor-specific geographic fields, such as Actor1CountryCode or Actor2CountryCode (or whatever the GDELT API query syntax might be for these fields).
For example, is a query like actor1geocountrycode:US or actor2geocountrycode:IND supported? If so, what is the correct syntax?
The GDELT documentation lists fields like Actor1CountryCode and Actor2CountryCode. I'm trying to understand if these can be used as direct filters in the API query string that gdeltPyR passes to the GDELT API, or if filtering on these fields must be done client-side after retrieving a broader set of results.
As I need data from 2008 - 2023, simply querying every single event and then filtering is too time consuming.
Any guidance on this would be appreciated. Thank you!