Overview

Real Estate Across the United States (REXUS) is the primary tool used by PBS to track and manage the government's real property assets and to store inventory data, building data, customer data, and lease information. STAR manages aspects of real property space management, including identification of all building space and daily management of 22,000 assignments for all property to its client Federal agencies. This data set contains PBS building inventory that consists of both owned and leased buildings with active and excess status.

https://catalog.data.gov/dataset/real-estate-across-the-united-states-rexus-inventory-building

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

public class ExampleClass {
    public static void main(String[] args) {
        // Get access to the library
        RealEstateLibrary realEstateLibrary = new RealEstateLibrary();
        // Access data inside the library
        ArrayList<Building> list_of_building = realEstateLibrary.getBuildings(false);ArrayList<Building> list_of_building = realEstateLibrary.getBuildingsByState("'VA'");
    }
}
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.real_estate.RealEstateLibrary;
import corgis.real_estate.domain.*;
import java.util.ArrayList;

public class ExampleClass {
    public static void main(String[] args) {
        // Get access to the library
        RealEstateLibrary realEstateLibrary = new RealEstateLibrary();
        // Access data inside the library
        ArrayList<Building> list_of_building = realEstateLibrary.getBuildings(true);
    }
}

Documentation

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

 realEstateLibrary.getBuildings(test)

Returns a list of the buildings in the database.

 realEstateLibrary.getBuildingsByState(state)

Returns a list of the buildings in the database for a state.