Overview

The Center for Systemic Peace was founded in 1997 to engage in global systems analysis to minimize the effects of political violence in the world as a whole. The following data set shows the state fragility for countries with a population greater than 500,000 in 2013. The State Fragility Index scores countries on two main categories, effectiveness and legitimacy. These are then broken down into four dimensions: Security, Political, Economic, and Social. The State Fragility Index score is the sum of the individual country's effectiveness score and their legitimacy score. Each of these scores are the summation of the four dimensions within the category.

http://www.systemicpeace.org/inscrdata.html

Downloads

Download all of the following files.

Usage

Begin by adding the above JAR file to your classpath. This library has 1 function you can use.
import corgis.state_fragility.StateFragilityLibrary;
import corgis.state_fragility.domain.*;
import java.util.ArrayList;

public class ExampleClass {
    public static void main(String[] args) {
        // Get access to the library
        StateFragilityLibrary stateFragilityLibrary = new StateFragilityLibrary();
        // Access data inside the library
        ArrayList<Score> list_of_score = stateFragilityLibrary.getScores(false);
    }
}
Additionally, some of the functions can optionally return Big Data using the last argument (setting it to true). If you use this Big Data, it may be much slower. Wait until you are sure your code is correct before using these examples.
import corgis.state_fragility.StateFragilityLibrary;
import corgis.state_fragility.domain.*;
import java.util.ArrayList;

public class ExampleClass {
    public static void main(String[] args) {
        // Get access to the library
        StateFragilityLibrary stateFragilityLibrary = new StateFragilityLibrary();
        // Access data inside the library
        ArrayList<Score> list_of_score = stateFragilityLibrary.getScores(true);
    }
}

Documentation

We provide full JavaDoc for this library. Alternatively, you may refer to the below:

 stateFragilityLibrary.getScores(test)

Returns state fragility scores from the dataset.