Loading ...
Sorry, an error occurred while loading the content.

Re: [govtrack] need some pointers

Expand Messages
  • Josh Tauberer
    ... congressperson voted on a specific bill. For example, how did John Olver vote on bill HR3288? You can start with the XML file for the bill:
    Message 1 of 2 , Dec 17, 2009
    • 0 Attachment
      On 12/16/2009 08:47 PM, Jack Angelo wrote:
      > is there a RESTful way to get xml that tells me how a specific
      congressperson voted on a specific bill. For example, how did John
      Olver vote on bill HR3288?

      You can start with the XML file for the bill:
      http://www.govtrack.us/data/us/111/bills/h3288.xml

      Look for actions/vote nodes where how="roll".

      Then put the where, year, and roll info together to form this URL:
      http://www.govtrack.us/data/us/111/rolls/h2009-637.xml

      - Josh Tauberer
      - CivicImpulse / GovTrack.us

      http://razor.occams.info | www.govtrack.us | civicimpulse.com

      "Members of both sides are reminded not to use guests of the
      House as props."
    Your message has been successfully submitted and would be delivered to recipients shortly.