dwb2023 commited on
Commit
6ea4641
·
1 Parent(s): f300d4f

fix spelling

Browse files
Files changed (1) hide show
  1. data_access.py +2 -2
data_access.py CHANGED
@@ -28,7 +28,7 @@ def get_gdelt_data(
28
 
29
  con.execute("""
30
  CREATE VIEW negative_tone AS (
31
- SELECT GKRECORDID, DATE, SourceCommonName, DocumentIdentifier, "V2.1Quotations", tone, V1Counts, "V2.1Counts", "V2.1Amounts", V1Themes, V2EnhancedThemes, V1Locations, V2EnhancedLocations, V1Persons, V2EnhancedPersons, V1Organizations, V2EnhancedOrganizations
32
  FROM read_parquet('hf://datasets/dwb2023/gdelt-gkg-march2020-v2@~parquet/default/negative_tone/*.parquet')
33
  );
34
  """)
@@ -120,6 +120,6 @@ GDELT_CATEGORIES = {
120
  "Names": ["V2.1AllNames"],
121
  "Counts": ["V2.1Counts", "V1Counts"],
122
  "Amounts": ["V2.1Amounts"],
123
- "V2GCAM": ["V2GCAM"],
124
  "V2.1EnhancedDates": ["V2.1EnhancedDates"],
125
  }
 
28
 
29
  con.execute("""
30
  CREATE VIEW negative_tone AS (
31
+ SELECT GKGRECORDID, DATE, SourceCommonName, DocumentIdentifier, "V2.1Quotations", tone, V1Counts, "V2.1Counts", "V2.1Amounts", V1Themes, V2EnhancedThemes, V1Locations, V2EnhancedLocations, V1Persons, V2EnhancedPersons, V1Organizations, V2EnhancedOrganizations
32
  FROM read_parquet('hf://datasets/dwb2023/gdelt-gkg-march2020-v2@~parquet/default/negative_tone/*.parquet')
33
  );
34
  """)
 
120
  "Names": ["V2.1AllNames"],
121
  "Counts": ["V2.1Counts", "V1Counts"],
122
  "Amounts": ["V2.1Amounts"],
123
+ #"V2GCAM": ["V2GCAM"],
124
  "V2.1EnhancedDates": ["V2.1EnhancedDates"],
125
  }