Overview

The following data set is information obtained about counties in the United States from 2007 through 2014 through the United States Census Bureau. Information described in the data includes the age distributions, the education levels, employment statistics, ethnicity percents, houseold information, income, and other miscellneous statistics.

http://www.census.gov/quickfacts/table/PST045215/00

Downloads

Download all of the following files.

Usage

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

public class ExampleClass {
    public static void main(String[] args) {
        // Get access to the library
        CountyDemographicsLibrary countyDemographicsLibrary = new CountyDemographicsLibrary();
        // Access data inside the library
        ArrayList<Report> list_of_report = countyDemographicsLibrary.getAllCounties(false);ArrayList<Report> list_of_report = countyDemographicsLibrary.getCountiesByState("'VA'", 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.county_demographics.CountyDemographicsLibrary;
import corgis.county_demographics.domain.*;
import java.util.ArrayList;

public class ExampleClass {
    public static void main(String[] args) {
        // Get access to the library
        CountyDemographicsLibrary countyDemographicsLibrary = new CountyDemographicsLibrary();
        // Access data inside the library
        ArrayList<Report> list_of_report = countyDemographicsLibrary.getAllCounties(true);ArrayList<Report> list_of_report = countyDemographicsLibrary.getCountiesByState("'VA'", true);
    }
}

Documentation

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

 countyDemographicsLibrary.getAllCounties(test)

Returns the report for each county from the dataset.

 countyDemographicsLibrary.getCountiesByState(state, test)

Returns the report for each county in a given state.