Skip to content
forked from jrnold/irdata

International Relations Database

Notifications You must be signed in to change notification settings

lolaverkade/irdata

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

International Relations Data

I got tired of the merging and cleaning of international relations data, so I put it all together in a relational database.

It is similar to EUGene, but uses an relational database backend, and is much less complete.

The database currently includes the following datasets:

Install

The code is generally database agnostic since it is written with in sqlalchemy. I have tested it with sqlite and postgresql.

Sqlite

To install irdata as a sqlite database at path/to/database/irdata.db.

$ python build_irdata.py sqlite:///path/to/database/irdata.db

Postgresql

To install irdata to the postgresql database irdata

First create the database if it doesn't exist.

$ createdb irdata
$ python build_irdata.py postgresql://user@hostname/irdata

Roadmap

  • add all datasets currently in COW and EUGene
  • add a HTSQL frontend

About

International Relations Database

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.6%
  • R 0.4%