Overview

The following data contains records collected on different countries and geographic locations from 1980 - 2013 from the World Bank. Included is different data about urban development, agriculture and rural development, health, and infrastructure.

https://ndb.nal.usda.gov/

Downloads

Download all of the following files.

Usage

Begin by adding the above JAR file to your classpath. This library has 3 functions you can use.
import corgis.global_development.GlobalDevelopmentLibrary;
import corgis.global_development.domain.*;
import java.util.ArrayList;

public class ExampleClass {
    public static void main(String[] args) {
        // Get access to the library
        GlobalDevelopmentLibrary globalDevelopmentLibrary = new GlobalDevelopmentLibrary();
        // Access data inside the library
        ArrayList<Report> list_of_report = globalDevelopmentLibrary.getReports(false);ArrayList<Report> list_of_report = globalDevelopmentLibrary.getReportsByYear(1990, false);ArrayList<Report> list_of_report = globalDevelopmentLibrary.getReportsByCountry("Afghanistan", 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.global_development.GlobalDevelopmentLibrary;
import corgis.global_development.domain.*;
import java.util.ArrayList;

public class ExampleClass {
    public static void main(String[] args) {
        // Get access to the library
        GlobalDevelopmentLibrary globalDevelopmentLibrary = new GlobalDevelopmentLibrary();
        // Access data inside the library
        ArrayList<Report> list_of_report = globalDevelopmentLibrary.getReports(true);ArrayList<Report> list_of_report = globalDevelopmentLibrary.getReportsByYear(1990, true);ArrayList<Report> list_of_report = globalDevelopmentLibrary.getReportsByCountry("Afghanistan", true);
    }
}

Documentation

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

 globalDevelopmentLibrary.getReports(test)

Returns global development reports from the dataset.

 globalDevelopmentLibrary.getReportsByYear(year, test)

Returns global development reports for a specified year.

 globalDevelopmentLibrary.getReportsByCountry(country, test)

Returns global development reports for a specified country.