gdeltPyR icon indicating copy to clipboard operation
gdeltPyR copied to clipboard

Python based framework to retreive Global Database of Events, Language, and Tone (GDELT) version 1.0 and version 2.0 data.

Results 28 gdeltPyR issues
Sort by recently updated
recently updated
newest added

base.py uses DataFrame.ix in two places: https://github.com/linwoodc3/gdeltPyR/blob/df8a6f705217fd7baac2779afa97b694274f8983/gdelt/base.py#L343 https://github.com/linwoodc3/gdeltPyR/blob/df8a6f705217fd7baac2779afa97b694274f8983/gdelt/base.py#L648 Which has been deprecated since pandas 0.20.0 and removed since 1.0.0.

Whenever I set coverage=True for gkg search I receive the error below. However with the events search I don't experience this error. **Code** gkg = gd.Search(['2017 May 23'],table='gkg',normcols=True,coverage=True) **Error** ---------------------------------------------------------------------------...

The pandas DataFrame 'ix' attribute is depracated, it needed to be replaced with 'iloc'. The gdelt.search() function now works perfectly fine.

This PR fixes #60. I checked the command-line options for `pytest-cov` [here](https://pytest-cov.readthedocs.io/en/latest/config.html). I believe it is `--cov-report` instead of `--cov-repo`. Edit 1: I also updated the version of `pandas` to...

# GDELT 1.0 Queries import gdelt # Version 1 queries gd1 = gdelt.gdelt(version=1) # pull single day, gkg table results= gd1.Search('2016 Nov 01',table='gkg') print(len(results)) # pull events table, range, output...

after I get all files from http://data.gdeltproject.org/gkg/index.html then....

https://camo.githubusercontent.com/ab3f2694e27bfc8d1e5f17011bf028c96e667e6c/68747470733a2f2f747769737465647369667465722e66696c65732e776f726470726573732e636f6d2f323031352f30362f70656f706c652d7477656574696e672d61626f75742d73756e72697365732d6f7665722d612d32342d686f75722d706572696f642e6769663f773d37303026683d343533

I've been using the same code to collect events every 15 minutes from the database for a few months now, but since yesterday I keep getting the error: UserWarning: GDELT...

The events 2.0 codebook describes the fraction date. Here is the code to convert the fraction date to the approximate date when the event happened. I'm assuming I had a...