Earthquake records from around the world collected from the United States Geological Survey. Important details about the earthquake such as distance, gap, magnitude, depth and significance are included to properly describe the earthquake. Additionally, data about exact geological coordinates and a relative description of the earthquake's location is included. The earthquakes collected are from the past month.



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

public class ExampleClass {
    public static void main(String[] args) {
        // Get access to the library
        EarthquakesLibrary earthquakesLibrary = new EarthquakesLibrary();
        // Access data inside the library
        ArrayList<Earthquake> list_of_earthquake = earthquakesLibrary.getEarthquakes();


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


Returns earthquakes from the dataset.