getgdelt
?
What is GDELT(Global Database of Events, Language, and Tone), monitors the world's news media from nearly every corner of every country in print, broadcast, and web formats, in over 100 languages, every moment of every day.
getgdelt
is a Python-based framework that calls the browser to download and format GDELT data.
getgdelt
?
Why do we use Existing frameworks, such as gdeltPyR, provide us with many conveniences for calling GDELT data using python, but as mentioned by linwoodc3: 'The only limitation with data pullsgdeltPyR
is you hardware. '
Using non-professional hardware or using existing python packages to call GDELT data in regions and countries where the network is restricted will encounter many errors. getgdelt
downloads GDELT data by calling the browser. It makes the data calling process simpler and more visual.
For users who use non-professional hardware or in countries and regions with limited networks, it will be very convenient to use getgdelt
to obtain GDELT data.
getgdelt
?
How do we use Installation
getgdelt
can be installed via pip
pip install getgdelt -i https://pypi.python.org/simple/
Basic Examples
Get GDELT
from getgdelt import getgdelt
getgdelt(year_start,month_start,day_start,year_end,month_end,day_end)
Use GDELT
After your original GDELT files are downloaded and unzipped, usegdelt
can help you format GDELT data.
from getgdelt import usegdelt
gdelt = usegdelt(download_file_directory,output_file_directory)