Skip to content

JELambert/sswebdata

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

Security Studies open-access Web Data

Some of the data I am using when working on research projects and the dissertation is updated frequently. Rather than having to download files to keep up, I wanted to have access to the current data through a python library. I will be expanding this package to include more data as time permits. For a full more thorough discussion and some usage of the package check out this blog post "Security Studies Web Data".

Installation:

  • Clone into a directory

  • Navigate to sswebdata/

  • python setup.py install

Current functions:

Ucdp.get_ucdp(ucdp)

  Version = 18.1
  args:
      ucdp =

      "nonstate" = Nonstate conflict dataset
      "dyadic" = Dyadic conflict dataset
      "ucdp" = Full UCDP data set
      "onesided" = Onesided conflict data sets
      "battledeaths" = Battledeaths data set
      "gedevents" = The geo-located events data set

Reign.reign(frame)

   args:
       frame =

       "monthly" - de-duplicated based on coups
       "yearly" - de-duplicated based on coups
       "full" - non de-duplicated

       notes :
           I added a democracy and autocracy variable (foreign occupied and warlordism are in the autocratic category)

Example

from sswebdata import Ucdp

nonstate_dataset = Ucdp.get_ucdp("nonstate")

Citations

See https://ucdp.uu.se/downloads/ for specific citations based on the dataset you utilize.

Bell, Curtis. 2016. The Rulers, Elections, and Irregular Governance Dataset (REIGN). Broomfield, CO: OEF Research. Available at oefresearch.org

About

Python package to access open data on security studies

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages