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.



Download all of the following files.


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();


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


Returns energy data from 1960 to 2014 across various factors.