Overview

United States Government reports on consumption, production, expenditures, and prices of various fuel sources. This data comes from the US Energy Information Administration, which has historical data from 1960 to 2014. Information was not always available, in which case 0 was reported instead. In some cases, very tiny values were rounded down to zero.

http://www.eia.gov/tools/faqs/

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.energy.EnergyLibrary;
import corgis.energy.domain.*;
import java.util.ArrayList;

public class ExampleClass {
    public static void main(String[] args) {
        // Get access to the library
        EnergyLibrary energyLibrary = new EnergyLibrary();
        // Access data inside the library
        ArrayList<Report> list_of_report = energyLibrary.getReports();
    }
}

Documentation

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

 energyLibrary.getReports()

Returns energy data from 1960 to 2014 across various factors.