About this query
Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.
Developer info
- Description
- This query returns a list of every time you have a new legislator representing you in Congress.
- API endpoint slug
- propublica.history_of_legislators_representing_you
- Runtime method
- performQuery("propublica.history_of_legislators_representing_you")
Query fields
Location Location input > Point
- Label
- Location
- Helper text
- Select where you live so we can find your congressional district
- Slug
- location
- Required
- true
- Can have default value
- true
Ingredients
NameName and title of the legislator.
- Slug
- name
- Filter code
- Propublica.historyOfLegislatorsRepresentingYou.Name
- Type
- String
- Example
- Rep. Barbara Mikulski
StateState and district the legislator represents.
- Slug
- state
- Filter code
- Propublica.historyOfLegislatorsRepresentingYou.State
- Type
- String
- Example
- MD-6
PartyThe legislator's party affiliation.
- Slug
- party
- Filter code
- Propublica.historyOfLegislatorsRepresentingYou.Party
- Type
- String
- Example
- D
Twitter usernameThe legislator's Twitter username.
- Slug
- twitter_username
- Filter code
- Propublica.historyOfLegislatorsRepresentingYou.TwitterUsername
- Type
- String
- Example
- SenTedCruz
PhonePhone number for the legislator's DC office.
- Slug
- phone
- Filter code
- Propublica.historyOfLegislatorsRepresentingYou.Phone
- Type
- String
- Example
- 555-555-5555
WebsiteThe URL of the legislator's official website.
- Slug
- website
- Filter code
- Propublica.historyOfLegislatorsRepresentingYou.Website
- Type
- String
- Example
- http://delaney.house.gov
DateThe date the legislator was sworn into their current seat.
- Slug
- date
- Filter code
- Propublica.historyOfLegislatorsRepresentingYou.Date
- Type
- Date (ISO8601)
- Example
- 2020-07-07