See it in action

To use any of these volunteer-created visualizations and widgets, just grab the code and embed it on your site. To grab the data streams and build something yourself, jump down below.

Embeddable Visualizations

Nationwide Twitter Vote Report Google map:

Embed code: <iframe src="http://votereport.us/reports/map?clean=1" frameborder="0" class="stream" width="535" height="500" scrolling="no" ></iframe>

State-level Twitter Vote Report Google map:

Embed code: <iframe src="http://votereport.us/reports/map?state=OH&clean=1" frameborder="0" class="stream" width="535" height="500" scrolling="no" ></iframe> (Replace “OH” with your state code.)

Plodt’s charts and wait time lists:

Embed code: <iframe src="http://www.plodt.com/homepage/wait_time_embed" frameborder="0" class="stream" width="230" height="250" scrolling="no"></iframe>

Embed code: <iframe src="http://www.plodt.com/homepage/tvr_embed" class="stream" scrolling="no" width="535" frameborder="0" height="350"></iframe>

More at Plodt.com/votereport.

Displays by Nathan Freitas:

Embed code: <iframe src='http://tvr.openideals.com:8080/embed.jsp?null' width=330 height=575 style='border:0px' border=0 scrolling=no ></iframe>

Embed code: <iframe src='http://tvr.openideals.com:8080/embed.jsp?state=FL'width=330 height=575 style='border:0px' border=0 scrolling=no ></iframe> (Replace “FL” with your state code.)

Embed code: <iframe src='http://tvr.openideals.com:8080/embedside.jsp?null' width=160 height=580 style='border:0px' border=0 scrolling=no ></iframe>

Embed code: <iframe src='http://tvr.openideals.com:8080/embedside.jsp?state=FL'width=160 height=580 style='border:0px' border=0 scrolling=no ></iframe> (Replace “FL” with your state code.)

Be sure to check out Nathan’s site for a rather amazing interactive display of the TVR data.

 

 

Developers, grab the data and go!

Available feeds:

Here are the various ways that you can access the data collected by Twitter Vote Report, as detailed by Andrew Turner:

  • GeoJSON: http://votereport.us/reports.json
    JSON is super nice for doing client-side mashups and visualization. This is what the Vote Report Map itself is using. It includes a lot of information for each report, including reporter, icon, location.

  • OpenSearch: http://votereport.us/opensearch.xml
    This is the OpenSearch description document that outlines all of the feeds and various filters that you can use when getting to the data. Always check this as we’ll update it with new parameters or data streams. In addition, the various responses discussed below include OpenSearch styling pagination so you can walk through the entire database of reports without having to drink right from the firehose. This also includes the OpenSearch-Time extension.

  • KML: - http://votereport.us/reports.kml
    Getting the reports.kml will give a Network Link - this is useful for GoogleEarth and other KML clients to automatically update every 60 seconds with new reports. You can append live=1 to get the full KML document. I have included all the useful attributes in the ExtendedData element of all the Placemarks. Each Placemark also has an id for easy reference.

  • GeoRSS-Atom: http://votereport.us/reports.atom
    Just want to subscribe to the feed in your RSS reader, this feed is useful for getting updates.