Skip to content

115th United States Senate - View Contact Information for United States Senators, including: Phone Number, Mailing Address, Official Website, Twitter & Facebook Accounts.

License

Notifications You must be signed in to change notification settings

openhouse/us-senate

Repository files navigation

Civil Services Logo

Civil Services is a collection of tools that make it possible for citizens to be apart of what is happening in their Local, State & Federal Governments.

115th United States Senate

GitHub license GitHub contributors

Screenshot

We have also built an interactive search tool that can show you some interesting demographic data on US Senators.

Senator Headshots

Civil Services created high-resolution photos for each US Senator and made them available in the following sizes:

  • 1024 x 1024 pixels
  • 512 x 512 pixels
  • 256 x 256 pixels
  • 128 x 128 pixels
  • 64 x 64 pixels

You can either copy the headshots folder into your project, or we also offer a CDN.

If you are using the image headshots/512x512/bernard-sanders.jpg the CDN for that file would be https://cdn.civil.services/senate/headshots/512x512/bernard-sanders.jpg

Senator Data

This project offers data for the 115th United States Senate in the following formats:

Data Set

The following information is available for each US Senator.

property type description
state string State City Council belongs to
bioguide string The alphanumeric ID for this legislator on http://bioguide.congress.gov ( http://bioguide.congress.gov/scripts/biodisplay.pl?index=C001075 )
thomas string The numeric ID for this legislator ( not really used anymore )
govtrack string The numeric ID for this legislator on GovTrack.us ( https://www.govtrack.us/congress/members/412630 )
opensecrets string The alphanumeric ID for this legislator on OpenSecrets.org ( https://www.opensecrets.org/politicians/summary.php?cid=N00030245 )
votesmart string The numeric ID for this legislator on VoteSmart.org ( http://votesmart.org/candidate/69494 )
party enum Party of City Council Representative ['democrat','republican','independent']
status enum Status of Senator ['active','inactive']
majority_leader boolean Senator is Majority Leader of Party
majority_whip boolean Senator is Majority Whip of Party
minority_leader boolean Senator is Minority Leader of Party
minority_whip boolean Senator is Minority Whip of Party
class enum Senate to be divided into three classes for purposes of elections ['I','II','III']
gender enum Gender of Senator ['female','male']
ethnicity enum Ethnicity of Senator ['african-american','asian-american','hispanic-american','white']
name string Name of City Council Representative
slug string Name converted to Slug ( lower case & dashes only )
date_of_birth date Senator's Date of Birth
entered_office date Date Senator First Entered Office
term_end date Date Senator's Tern Ends
latitude float GPS Latitude of Office
longitude float GPS Longitude of Office
address string Mailing Address
website string Senator's Website
phone string Phone Number
twitter_url string Twitter URL
facebook_url string Facebook URL
photo_url string Photo URL
biography string Senator's Biography from Congress.gov

Developers

The main data file is data/senate.json and is the only one you need to make changes too. Once changes are made you can automatically gernate the CSV, SQL, XML & YML files automagically by running the following in a terminal window:

npm install
npm run convert

About

115th United States Senate - View Contact Information for United States Senators, including: Phone Number, Mailing Address, Official Website, Twitter & Facebook Accounts.

Resources

License

Stars

Watchers

Forks

Packages

No packages published