Skip to content

GDELT_EVENT_COLUMNS ​

Import from: @xbbg/xnews, @xbbg/xnews/catalog

const GDELT_EVENT_COLUMNS: object

Defined in: src/sources/gdeltevents.urls.ts (declaration: sources/gdeltevents.urls.d.ts:13)

Zero-based fields in the headerless, tab-separated GDELT 2.0 event export. Names follow the publisher's Event Codebook so schema offsets stay auditable.

Column 25 is IsRootEvent, not EventCode — the CAMEO block starts at 26, and the ActionGeo block is led by ActionGeo_Type at 51 with the place name at 52. Offsets verified against a live .export.CSV slice.

Type Declaration ​

actionGeoCountryCode ​

readonly actionGeoCountryCode: 53

actionGeoFullName ​

readonly actionGeoFullName: 52

actionGeoLatitude ​

readonly actionGeoLatitude: 56

actionGeoLongitude ​

readonly actionGeoLongitude: 57

actionGeoType ​

readonly actionGeoType: 51

avgTone ​

readonly avgTone: 34

dateAdded ​

readonly dateAdded: 59

day ​

readonly day: 1

eventBaseCode ​

readonly eventBaseCode: 27

eventCode ​

readonly eventCode: 26

eventRootCode ​

readonly eventRootCode: 28

globalEventId ​

readonly globalEventId: 0

goldsteinScale ​

readonly goldsteinScale: 30

isRootEvent ​

readonly isRootEvent: 25

numArticles ​

readonly numArticles: 33

numMentions ​

readonly numMentions: 31

numSources ​

readonly numSources: 32

quadClass ​

readonly quadClass: 29

sourceUrl ​

readonly sourceUrl: 60

Last updated:

xbbg is independent open-source software and is not affiliated with, endorsed by, sponsored by, or approved by Bloomberg Finance L.P.