Overview

This library holds data about over Broadway shows, grouped over weeklong periods. Only shows that reported capacity were included, so the dataset stretches back to the 1990s. The dataset is made available by the Broadway League (the national trade association for the Broadway industry), and you can view the data online at http://www.broadwayleague.com/. This dataset

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

public class ExampleClass {
    public static void main(String[] args) {
        // Get access to the library
        BroadwayLibrary broadwayLibrary = new BroadwayLibrary();
        // Access data inside the library
        ArrayList<Production> list_of_production = broadwayLibrary.getShows(false);ArrayList<Production> list_of_production = broadwayLibrary.getShowByTheatre("friedman", 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.broadway.BroadwayLibrary;
import corgis.broadway.domain.*;
import java.util.ArrayList;

public class ExampleClass {
    public static void main(String[] args) {
        // Get access to the library
        BroadwayLibrary broadwayLibrary = new BroadwayLibrary();
        // Access data inside the library
        ArrayList<Production> list_of_production = broadwayLibrary.getShows(true);ArrayList<Production> list_of_production = broadwayLibrary.getShowByTheatre("friedman", true);
    }
}

Documentation

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

 broadwayLibrary.getShows(test)

Returns information about all the shows

 broadwayLibrary.getShowByTheatre(theatre, test)

Returns information about all the shows at a given theatre