home / openregs

congress_members

All current and historical members of Congress (12,700+) from the congress-legislators project. Includes bioguide_id (universal key), party, state, chamber, and cross-reference IDs for OpenSecrets, FEC, GovTrack, and more.

Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API

6 rows where chamber = "Senate", party = "Whig" and state = "MD" sorted by full_name

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: first_name, terms_count, first_served (date), last_served (date), birthday (date), served_until (date)

state 1

  • MD · 6 ✖

party 1

  • Whig · 6 ✖

is_current 1

  • 0 6

chamber 1

  • Senate · 6 ✖
bioguide_id first_name last_name full_name ▼ nickname party state chamber district first_served last_served is_current opensecrets_id fec_ids govtrack_id thomas_id votesmart_id lis_id wikipedia_id ballotpedia_id birthday gender terms_count served_until trade_count speech_count bills_sponsored vote_count fec_total_received
S000905 David Stewart David Stewart   Whig MD Senate   1849-12-03 1851-03-03 0   [] 410366       David Stewart (Maryland politician)   1800-09-13 M 1 1851-03-03 0 0 0 0 0
K000139 John Kerr John Kerr   Whig MD Senate   1825-12-05 1843-03-03 0   [] 406305       John Leeds Kerr   1780-01-15 M 4 1843-03-03 0 0 0 0 0
S000719 John Spence John Spence   Whig MD Senate   1823-12-01 1840-10-24 0   [] 410188       John S. Spence   1788-02-29 M 3 1840-10-24 0 0 0 0 0
K000125 Joseph Kent Joseph Kent   Whig MD Senate   1811-11-04 1837-12-31 0   [] 406291       Joseph Kent   1779-01-14 M 5 1837-12-31 0 0 0 0 0
G000264 Robert Goldsborough Robert Goldsborough   Whig MD Senate   1813-05-24 1837-03-03 0   [] 404626       Robert Henry Goldsborough   1779-01-04 M 5 1837-03-03 0 0 0 0 0
M000654 William Merrick William Merrick   Whig MD Senate   1838-01-04 1845-03-03 0   [] 407640       William Duhurst Merrick   1793-10-25 M 2 1845-03-03 0 0 0 0 0

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE congress_members (
    bioguide_id TEXT PRIMARY KEY,
    first_name TEXT,
    last_name TEXT,
    full_name TEXT,
    nickname TEXT,
    party TEXT,
    state TEXT,
    chamber TEXT,
    district INTEGER,
    first_served TEXT,
    last_served TEXT,
    is_current INTEGER,
    opensecrets_id TEXT,
    fec_ids TEXT,
    govtrack_id INTEGER,
    thomas_id TEXT,
    votesmart_id INTEGER,
    lis_id TEXT,
    wikipedia_id TEXT,
    ballotpedia_id TEXT,
    birthday TEXT,
    gender TEXT,
    terms_count INTEGER,
    served_until TEXT
, trade_count INTEGER DEFAULT 0, speech_count INTEGER DEFAULT 0, bills_sponsored INTEGER DEFAULT 0, vote_count INTEGER DEFAULT 0, fec_total_received INTEGER DEFAULT 0);
CREATE INDEX idx_cm_name ON congress_members(last_name, first_name);
CREATE INDEX idx_cm_party ON congress_members(party);
CREATE INDEX idx_cm_state ON congress_members(state);
CREATE INDEX idx_cm_chamber ON congress_members(chamber);
CREATE INDEX idx_cm_current ON congress_members(is_current);
CREATE INDEX idx_cm_current_trades ON congress_members(is_current DESC, trade_count DESC);
Powered by Datasette · Queries took 606.281ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API