1.1.2 • Published 7 years ago

civil-services-us-senate v1.1.2

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

Civil Services Logo

Civil Services is a collection of tools that make it possible for citizens to be a part 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.

★ Search US Senators ⧁

Introduction

This project provides the US Senate Data ( JSON, XML, CSV, SQL & YML formats ) & Headshots. See Provided Data below for full list of data in this project.

Data Source

Our team Manages the 115th Congress United States Senate Demographic Data. This document is Read Only for the general public. If you would like to update this document, Join our Slack Team to learn how.

Completed Tasks

We have completed the following Data Collection for this set of data. Watch Project to be notified of updates.

  • US House Data Created
  • Representative Headshots Created
  • Images Uploaded to CDN
  • Published NPM Package

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:

Provided Data

The following information is available for each Senator.

ParameterTypeDescription
state_namestringName of State
state_state_name_slugstringName of State converted to lowercase letters and spaces replaced with dashes
state_codestringTwo Letter State Abbreviation
state_code_slugstringTwo Letter State Abbreviation in lowercase letters
classenumSenate to be divided into three classes for purposes of elections ['I','II','III']
bioguidestringThe alphanumeric ID for this Senator on http://bioguide.congress.gov ( http://bioguide.congress.gov/scripts/biodisplay.pl?index=C001075 )
thomasstringThe numeric ID for this Senator ( not really used anymore )
govtrackstringThe numeric ID for this Senator on GovTrack.us ( https://www.govtrack.us/congress/members/412630 )
opensecretsstringThe alphanumeric ID for this Senator on OpenSecrets.org ( https://www.opensecrets.org/politicians/summary.php?cid=N00030245 )
votesmartstringThe numeric ID for this Senator on VoteSmart.org ( http://votesmart.org/candidate/69494 )
fecstringFederal Election Commission ID ( http://www.fec.gov/fecviewer/CandidateCommitteeDetail.do?candidateCommitteeId=H6AL04098 )
maplightstringThe numeric ID for this Senator on MapLight.org ( http://maplight.org/us-congress/legislator/127 )
wikidatastringThe numeric ID for this Senator on wikidata.org ( https://www.wikidata.org/wiki/Q672671 )
google_entity_idstringGoogle Integration
titleenumTitle of Senator
partyenumPolitical Party of Senator
namestringFull Name of Senator
name_slugstringFull Name of Senator converted to lowercase letters and spaces replaced with dashes
first_namestringFirst Name of Senator
middle_namestringMiddle Name of Senator
last_namestringLast Name of Senator
name_suffixstringName Suffix of Senator
goes_bystringName Senator Prefers to go by
pronunciationstringHow to Pronounce Senator's Name
genderenumGender of Senator
ethnicityenumEthnicity of Senator
religionenumReligion of Senator
openley_lgbtqenumSenator is Openly LGBTQ
date_of_birthdateDate of Birth of Senator
entered_officedateDate Senator First Entered Office
term_enddateDate Senator's Current Term Ends
biographystringSenator's Biography from Congress.gov
phonestringWork Phone Number of Senator
faxstringWork Phone Number of Senator
latitudefloatGPS Latitude of Office
longitudefloatGPS Longitude of Office
address_completestringWork Mailing Address of Senator
address_numbernumberMailing Address Number
address_prefixstringMailing Address Prefix
address_streetstringMailing Address Street
address_sec_unit_typestringMailing Address Section Unit Type
address_sec_unit_numnumberMailing Address Section Unit Number
address_citystringMailing Address City
address_statestringMailing Address State
address_zipcodestringMailing Address zipcode
address_typestringMailing Address Type
websitestringSenator's Website
contact_pagestringSenator's Contact Page
facebook_urlstringFacebook URL
twitter_handlestringTwitter Handle of Senator ( not always available )
twitter_urlstringTwitter URL of Senator ( not always available )
photo_urlstringPhoto URL of Senator ( not always available )
  • photo_url is available in the following sizes: 64x64, 128x128, 256x256, 512x512 & 1024x1024 ( defaults to 512x512 )