Overview

From the United States Department of Agriculture's Economic Research Service, the dataset contains information about US county's ability to access supermarkets, supercenters, grocery stores, or other sources of healthy and affordable food. Most measures of how individuals and neighborhoods are able to access food are based on the following indicators: - Accessibility to sources of healthy food, as measured by distance to a store or by the number of stores in an area. - Individual-level resources that may affect accessibility, such as family income or vehicle availability. - Neighborhood-level indicators of resources, such as the average income of the neighborhood and the availability of public transportation.

http://www.ers.usda.gov/data-products/food-access-research-atlas.aspx

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

public class ExampleClass {
    public static void main(String[] args) {
        // Get access to the library
        FoodAccessLibrary foodAccessLibrary = new FoodAccessLibrary();
        // Access data inside the library
        ArrayList<Record> list_of_record = foodAccessLibrary.getRecords(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.food_access.FoodAccessLibrary;
import corgis.food_access.domain.*;
import java.util.ArrayList;

public class ExampleClass {
    public static void main(String[] args) {
        // Get access to the library
        FoodAccessLibrary foodAccessLibrary = new FoodAccessLibrary();
        // Access data inside the library
        ArrayList<Record> list_of_record = foodAccessLibrary.getRecords(true);
    }
}

Documentation

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

 foodAccessLibrary.getRecords(test)

Returns food access records from the dataset.