Overview

This dataset has records for the awarding of the United States Medal of Honor. The Medal of Honor is the United States of America's highest military honor, awarded for personal acts of valor above and beyond the call of duty. The medal is awarded by the President of the United States in the name of the U.S. Congress to U.S. military personnel only. There are three versions of the medal, one for the Army, one for the Navy, and one for the Air Force.[5] Personnel of the Marine Corps and Coast Guard receive the Navy version. The dataset was collected from the official military site, and includes records about how the medal was awarded and characteristics of the recipient. Unfortunately, because of the nature of century-old record keeping, many of the records are incomplete. While a very interesting dataset, it does have some missing data.

http://www.cmohs.org/

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

public class ExampleClass {
    public static void main(String[] args) {
        // Get access to the library
        MedalOfHonorLibrary medalOfHonorLibrary = new MedalOfHonorLibrary();
        // Access data inside the library
        ArrayList<Awardee> list_of_awardee = medalOfHonorLibrary.getAwardees(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.medal_of_honor.MedalOfHonorLibrary;
import corgis.medal_of_honor.domain.*;
import java.util.ArrayList;

public class ExampleClass {
    public static void main(String[] args) {
        // Get access to the library
        MedalOfHonorLibrary medalOfHonorLibrary = new MedalOfHonorLibrary();
        // Access data inside the library
        ArrayList<Awardee> list_of_awardee = medalOfHonorLibrary.getAwardees(true);
    }
}

Documentation

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

 medalOfHonorLibrary.getAwardees(test)

Returns a list of the awardees in the database.