Skip to content

davidpchi/CS4460-Hyperplane

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 

Repository files navigation

CS4460-Hyperplane

CS 4460 Project

This project contains several data structures that are in turn displayed. Accessing these data structures are as follows

State Data

The stateData array contains the data organized by states. Each element of stateData has access to the following:

  • name: The name of the state by abbreviation. This is the primaryID for navigating this data structure.
  • representativeCount: The number of representatives of that state
  • senatorCount: The number of senators of that state
  • billCount: The number of bills of that state
  • representatives: An array of all the representatives that come from that state. The elements of this array have the same attributes as the legislatorData data structure.
  • senators: An array of all the senators that come from that state. The elements of this array have the same attributes as the legislatorData data structure.
  • bills: An array of all the bills that come from that state

Legislator Data

The legislatorData array contains the data organized by legislator. Each element of legislatorData has access to the following:

  • bioguide_id: The bioguide_id of the legislator. This is the primaryID for navigating this data structure.
  • firstname: The first name of the legislator
  • lastname: The lastname of the legislator
  • gender: The gender of the legislator
  • state: The state the legislator is from
  • title: If the legislator is a representative or senator
  • website: The website of the legislator
  • imageURL: deprecated and will remove
  • bills: An array of bill objects that the legislator has created

Bill Data

The billData array contains the data organized by bill.

  • bill_type: The origin of the bill (house or senate bill)
  • bill_type_label: The origin of the bill abbreviated (house = H, senate = S)
  • current_status: The current status of the bill
  • current_status_description: A description of the current status of the bill
  • current_status_label: A shorter description of the current status of the bill
  • display_number: The bill type label and bill number
  • is_alive: If the bill is still active or not
  • link: A link to the bill itself
  • major_actions: An array of major actions taken on this bill. Element 0, while Element 2 is a description of the action.
  • title: The title of the bill
  • title_without_number: The title of the bill without its bill number
  • sponsor: The sponsor of the bill (has multiple attributes, see legislator data for a sample.

About

CS 4460 Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •