Elastic search index for the Armed Conflict Location and Event Data Project (ACLED)
from Asia and Africa in the same Elastic Search index.
- check the environment vars at
config/enviroment_variables.sample.sh
- install python requirements with
pip install config/requirements.txt
- create index with
python create_index.py
- download the Africa data since 1997 and index it on ES with
python download_and_index.py
this will download the data until the current year.
To keep index up-to-date a cron job will be required with the following commands:
API Client for all events from current year
python africa_realtime.py
Crawler for published excels in here (http://www.acleddata.com/asia-data/)
python asia_download_and_index.py
Real time updates- Unit tests
- Use logstash to index quicker
Please fork this repo.