<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">
  <title>Socrata Open Data API</title>
  <id>http://dev.socrata.com</id>
  <updated>2010-08-09</updated>
  <author>
    <name>Chris Metcalf</name>
  </author>
  <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/socrata-soda" /><feedburner:info uri="socrata-soda" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><geo:lat>47.60252</geo:lat><geo:long>-122.328555</geo:long><link rel="license" type="text/html" href="http://creativecommons.org/licenses/by-nc-sa/3.0/" /><logo>http://dev.socrata.com/images/powered-by-socrata.png</logo><feedburner:emailServiceId>socrata-soda</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><entry>
    <title>International Open Data Hackathon at Socrata</title>
    <link rel="alternate" href="http://feedproxy.google.com/~r/socrata-soda/~3/0_GjNvT5XrQ/" />
    <id>http://dev.socrata.com/2011/11/18/international-open-data-hackathon-at-socrata/</id>
    <published>2011-11-18</published>
    <updated>2011-11-18</updated>
    <author>
      <name>Chris Metcalf</name>
    </author>
    <summary type="html">&lt;p&gt;&lt;img src="/images/posts/2011-11-18-iodh.jpg" alt="International Open Data Hackathon" /&gt;&lt;/p&gt;

&lt;p&gt;Socrata is proud to be hosting the Seattle branch of the 2011 &lt;a href="http://www.opendataday.org/"&gt;International Open Data Hackathon&lt;/a&gt; at our offices in Pioneer Square. For the uninitiated, the International Open Data Hackathon is a loosely-connected event of hackathons in different cities around the world with a common goal of getting as many people around the world hacking on open data at the same time. It&amp;rsquo;s a great chance for the community to connect around some common goals and build some awesome tech&amp;hellip;&lt;/p&gt;
</summary>
    <content type="html">&lt;p&gt;&lt;img src="/images/posts/2011-11-18-iodh.jpg" alt="International Open Data Hackathon" /&gt;&lt;/p&gt;

&lt;p&gt;Socrata is proud to be hosting the Seattle branch of the 2011 &lt;a href="http://www.opendataday.org/"&gt;International Open Data Hackathon&lt;/a&gt; at our offices in Pioneer Square. For the uninitiated, the International Open Data Hackathon is a loosely-connected event of hackathons in different cities around the world with a common goal of getting as many people around the world hacking on open data at the same time. It&amp;rsquo;s a great chance for the community to connect around some common goals and build some awesome tech.&lt;/p&gt;

&lt;p&gt;The Seattle event will be hosted at &lt;a href="http://www.youtube.com/watch?v=BrQjz9FccLk"&gt;Socrata&amp;rsquo;s offices&lt;/a&gt; right in downtown Seattle. We&amp;rsquo;ve got space for maybe 20-30 developers if we spread out around the office, plently of bandwidth, and a great view of Pioneer Square. My personal goal is to hack on some of the awesome restaurant inspection data provided by &lt;a href="http://data.cityofchicago.org/Health-Human-Services/Food-Inspections/4ijn-s7e5"&gt;Chicago&lt;/a&gt;, &lt;a href="http://www.datakc.org/Government/Food-Establishment-Inspection-Data/f29f-zza5"&gt;King County&lt;/a&gt;, and the &lt;a href="http://nycopendata.socrata.com/Health/Restaurant-Inspection-Results/zf7n-cm69"&gt;City of New York&lt;/a&gt;, but I also welcome people to come work on whatever catches their fancy.&lt;/p&gt;

&lt;p&gt;We&amp;rsquo;ll plan on starting up at about 9AM and sticking around until 6PM, but if people want to keep working later or head out to socialize we&amp;rsquo;re always game. If you&amp;rsquo;re interested in attending, please &lt;a href="http://www.eventbrite.com/event/2534161746"&gt;sign up on EventBrite&lt;/a&gt; so we know to expect you. That&amp;rsquo;ll also make sure we have enough refreshments to keep you energized throughout the day!&lt;/p&gt;

&lt;p&gt;I&amp;rsquo;ll also be available on the hackathon &lt;a href="http://www.opendataday.org/wiki/Main_Page"&gt;IRC channel&lt;/a&gt; as &amp;ldquo;metcalf&amp;rdquo; if people need help with the &lt;a href="http://dev.socrata.com"&gt;Socrata APIs&lt;/a&gt;&lt;/p&gt;
&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/socrata-soda?a=0_GjNvT5XrQ:lAIp-YIpKJw:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/socrata-soda?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/socrata-soda?a=0_GjNvT5XrQ:lAIp-YIpKJw:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/socrata-soda?i=0_GjNvT5XrQ:lAIp-YIpKJw:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/socrata-soda?a=0_GjNvT5XrQ:lAIp-YIpKJw:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/socrata-soda?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content>
  <feedburner:origLink>http://dev.socrata.com/2011/11/18/international-open-data-hackathon-at-socrata/</feedburner:origLink></entry>
  <entry>
    <title>Join Socrata at #OGDcamp!</title>
    <link rel="alternate" href="http://feedproxy.google.com/~r/socrata-soda/~3/-40Ltcv8tr0/" />
    <id>http://dev.socrata.com/2011/10/17/join-socrata-at-ogdcamp/</id>
    <published>2011-10-17</published>
    <updated>2011-10-17</updated>
    <author>
      <name>Chris Metcalf</name>
    </author>
    <summary type="html">&lt;p&gt;&lt;img src="/images/posts/2011-10-17-ogdcamp.jpg" alt="Open Government Data Camp" /&gt;&lt;/p&gt;

&lt;p&gt;Socrata is off to Poland! I&amp;rsquo;ll be representing Socrata at &lt;a href="http://ogdcamp.org/"&gt;Open Government Data Camp&lt;/a&gt; in Warsaw, Poland on October 20th and 21st. If you have any questions about our APIs, our products, or our data, track me down and I&amp;rsquo;ll be glad to help out.&lt;/p&gt;
</summary>
    <content type="html">&lt;p&gt;&lt;img src="/images/posts/2011-10-17-ogdcamp.jpg" alt="Open Government Data Camp" /&gt;&lt;/p&gt;

&lt;p&gt;Socrata is off to Poland! I&amp;rsquo;ll be representing Socrata at &lt;a href="http://ogdcamp.org/"&gt;Open Government Data Camp&lt;/a&gt; in Warsaw, Poland on October 20th and 21st. If you have any questions about our APIs, our products, or our data, track me down and I&amp;rsquo;ll be glad to help out.&lt;/p&gt;
&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/socrata-soda?a=-40Ltcv8tr0:12l5RD8-t3Y:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/socrata-soda?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/socrata-soda?a=-40Ltcv8tr0:12l5RD8-t3Y:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/socrata-soda?i=-40Ltcv8tr0:12l5RD8-t3Y:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/socrata-soda?a=-40Ltcv8tr0:12l5RD8-t3Y:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/socrata-soda?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content>
  <feedburner:origLink>http://dev.socrata.com/2011/10/17/join-socrata-at-ogdcamp/</feedburner:origLink></entry>
  <entry>
    <title>From the Community: Access Chicagoland data with Windy.php</title>
    <link rel="alternate" href="http://feedproxy.google.com/~r/socrata-soda/~3/6xfRIIJj2Q0/" />
    <id>http://dev.socrata.com/2011/10/07/from-the-community-access-chicagoland-data-with-windyphp/</id>
    <published>2011-10-07</published>
    <updated>2011-10-07</updated>
    <author>
      <name>Chris Metcalf</name>
    </author>
    <summary type="html">&lt;p&gt;&lt;img src="http://farm1.static.flickr.com/121/303226737_9a10206278_z.jpg" alt="Chicago Riverfront" /&gt;&lt;/p&gt;

&lt;p&gt;Something amazing is happening in Chicago. The &lt;a href="http://data.cityofchiago.org"&gt;City of Chicago&lt;/a&gt;, &lt;a href="http://data.cookcountyil.gov"&gt;Cook County&lt;/a&gt;, and &lt;a href="http://data.illinois.gov/"&gt;State of Illinois&lt;/a&gt; all are coming together around the cause of Open Data and are publishing awesome datasets to their collective data sites, and a great developer community is coming together around this influx of new data&amp;hellip;&lt;/p&gt;
</summary>
    <content type="html">&lt;p&gt;&lt;img src="http://farm1.static.flickr.com/121/303226737_9a10206278_z.jpg" alt="Chicago Riverfront" /&gt;&lt;/p&gt;

&lt;p&gt;Something amazing is happening in Chicago. The &lt;a href="http://data.cityofchiago.org"&gt;City of Chicago&lt;/a&gt;, &lt;a href="http://data.cookcountyil.gov"&gt;Cook County&lt;/a&gt;, and &lt;a href="http://data.illinois.gov/"&gt;State of Illinois&lt;/a&gt; all are coming together around the cause of Open Data and are publishing awesome datasets to their collective data sites, and a great developer community is coming together around this influx of new data.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://pdw.weinstein.org/"&gt;Paul Weinstein&lt;/a&gt; has put together an awesome PHP library, &lt;a href="http://pdw.weinstein.org/2011/09/accessing-chicago-cook-and-illinois-open-data-via-php.html"&gt;Windy.php&lt;/a&gt;, in order to help PHP developers get started accessing data from the city, county, and state. It wraps up all the complexities of accessing the different datasites into a neat library and even helps you retreive and parse KML files.&lt;/p&gt;

&lt;p&gt;For you Ruby hackers, there&amp;rsquo;s also the &lt;a href="https://github.com/Chicago/windy"&gt;windy.rb&lt;/a&gt; module, which provides a similar interface for accessing City of Chicago data from Ruby.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Photo from &lt;a href="http://www.flickr.com/photos/chicagokatie/"&gt;chicagophotogirl&lt;/a&gt;&amp;rsquo;s CC-licensed photo stream&lt;/em&gt;&lt;/p&gt;
&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/socrata-soda?a=6xfRIIJj2Q0:dD_wGgXC84Q:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/socrata-soda?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/socrata-soda?a=6xfRIIJj2Q0:dD_wGgXC84Q:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/socrata-soda?i=6xfRIIJj2Q0:dD_wGgXC84Q:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/socrata-soda?a=6xfRIIJj2Q0:dD_wGgXC84Q:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/socrata-soda?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content>
  <feedburner:origLink>http://dev.socrata.com/2011/10/07/from-the-community-access-chicagoland-data-with-windyphp/</feedburner:origLink></entry>
  <entry>
    <title>From the community: SODA examples in Python</title>
    <link rel="alternate" href="http://feedproxy.google.com/~r/socrata-soda/~3/NGe768e7WIA/" />
    <id>http://dev.socrata.com/2011/10/06/from-the-community-soda-examples-in-python/</id>
    <published>2011-10-06</published>
    <updated>2011-10-06</updated>
    <author>
      <name>Chris Metcalf</name>
    </author>
    <summary type="html">&lt;p&gt;We always like seeing the community pitching in and showcasing how powerful SODA can be when combined with meaningful open data. Today I wanted to highlight &lt;a href="http://metrochicagoopendataexamples.blogspot.com/"&gt;Metro Chicago Open Data Examples&lt;/a&gt;, written by Stephen Newell&amp;hellip;&lt;/p&gt;
</summary>
    <content type="html">&lt;p&gt;We always like seeing the community pitching in and showcasing how powerful SODA can be when combined with meaningful open data. Today I wanted to highlight &lt;a href="http://metrochicagoopendataexamples.blogspot.com/"&gt;Metro Chicago Open Data Examples&lt;/a&gt;, written by Stephen Newell.&lt;/p&gt;

&lt;p&gt;Over the past two months, Stephen has been posting a series of great posts showing how to do various tasks working with open data in Python, and much of it has to do with the Socrata Open Data API. If you wanted to see step-by-step, for example, how to create an inline filter on some data, he&amp;rsquo;s written about it &lt;a href="http://metrochicagoopendataexamples.blogspot.com/2011/09/example-16-complex-query-using-inline.html"&gt;here&lt;/a&gt;. Or, if you need to be able to page through a large amount of data on the API, there&amp;rsquo;s an example you can use &lt;a href="http://metrochicagoopendataexamples.blogspot.com/2011/09/example-21-getting-data-via-paging.html"&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If you have written anything else (sample code, walkthroughs, or otherwise) that might help your fellow civic developers get acclimated with the open data platform, please do write to us and let us know; I&amp;rsquo;d be happy to feature your work here. For now, though, read up on &lt;a href="http://metrochicagoopendataexamples.blogspot.com/2011/08/introduction.html"&gt;the genesis&lt;/a&gt; of the Metro Chicago Open Data Examples blog and &lt;a href="https://github.com/snewell4/Metro-Chicago-Open-Data-Examples"&gt;grab the code off of GitHub&lt;/a&gt; if you&amp;rsquo;re at all interested in Python development on the Socrata Open Data API.&lt;/p&gt;
&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/socrata-soda?a=NGe768e7WIA:dEZyMIzUfro:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/socrata-soda?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/socrata-soda?a=NGe768e7WIA:dEZyMIzUfro:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/socrata-soda?i=NGe768e7WIA:dEZyMIzUfro:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/socrata-soda?a=NGe768e7WIA:dEZyMIzUfro:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/socrata-soda?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content>
  <feedburner:origLink>http://dev.socrata.com/2011/10/06/from-the-community-soda-examples-in-python/</feedburner:origLink></entry>
  <entry>
    <title>Important Changes to the Publisher API: Publishing Workflow</title>
    <link rel="alternate" href="http://feedproxy.google.com/~r/socrata-soda/~3/vpbASyTVV9w/" />
    <id>http://dev.socrata.com/2011/08/25/important-changes-to-the-publisher-api-publishing-workflow/</id>
    <published>2011-08-25</published>
    <updated>2011-08-25</updated>
    <author>
      <name>Chris Metcalf</name>
    </author>
    <summary type="html">&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; The rollout of the Publishing Workflow has completed. If you encounter any problems with the new workflow, or if you need help migrating your processes or code, please &lt;a href="http://support.socrata.com/tickets/new"&gt;open a support ticket&lt;/a&gt; and we&amp;rsquo;ll be glad to help you.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; The Publishing Workflow rollout has been delayed until 9/20. As before, we&amp;rsquo;ll provide updates here when the actual deployment has been completed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; The Socrata team will be rolling out the publisher API changes on the evening (Pacific Daylight Time) of Thursday, September 15th. We&amp;rsquo;ll post another notification when the deployment is complete.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The following is an important announcement for users of the Socrata Open Data Publisher API. If you don&amp;rsquo;t use the Publisher API to update datasets, it doesn&amp;rsquo;t pertain to you. But if you&amp;rsquo;re interested, feel free to read on, because we think it&amp;rsquo;s pretty cool.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The Socrata team is excited to announce an important update to the Publisher API: The Socrata Publishing Workflow.&lt;/p&gt;

&lt;p&gt;Details of the &lt;a href="/publisher/workflow"&gt;Publishing Workflow&lt;/a&gt; have been available for several months, and now that many of our customers have migrated their systems to be prepared for the change, we&amp;rsquo;re making the final preparations to launch it to our shared production platform.&lt;/p&gt;

&lt;p&gt;The Publishing Workflow does change the way that publishers must interact with our platform, so this is an important change to be aware of and prepared for. We plan on rolling out the change during the week of September 12th. Final deployment timing and details will be shared with all publishers before the change is deployed.&lt;/p&gt;

&lt;p&gt;For more details, see the documentation on the &lt;a href="/publisher/workflow"&gt;Publishing Workflow&lt;/a&gt; or read on&amp;hellip;&lt;/p&gt;
</summary>
    <content type="html">&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; The rollout of the Publishing Workflow has completed. If you encounter any problems with the new workflow, or if you need help migrating your processes or code, please &lt;a href="http://support.socrata.com/tickets/new"&gt;open a support ticket&lt;/a&gt; and we&amp;rsquo;ll be glad to help you.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; The Publishing Workflow rollout has been delayed until 9/20. As before, we&amp;rsquo;ll provide updates here when the actual deployment has been completed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; The Socrata team will be rolling out the publisher API changes on the evening (Pacific Daylight Time) of Thursday, September 15th. We&amp;rsquo;ll post another notification when the deployment is complete.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The following is an important announcement for users of the Socrata Open Data Publisher API. If you don&amp;rsquo;t use the Publisher API to update datasets, it doesn&amp;rsquo;t pertain to you. But if you&amp;rsquo;re interested, feel free to read on, because we think it&amp;rsquo;s pretty cool.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The Socrata team is excited to announce an important update to the Publisher API: The Socrata Publishing Workflow.&lt;/p&gt;

&lt;p&gt;Details of the &lt;a href="/publisher/workflow"&gt;Publishing Workflow&lt;/a&gt; have been available for several months, and now that many of our customers have migrated their systems to be prepared for the change, we&amp;rsquo;re making the final preparations to launch it to our shared production platform.&lt;/p&gt;

&lt;p&gt;The Publishing Workflow does change the way that publishers must interact with our platform, so this is an important change to be aware of and prepared for. We plan on rolling out the change during the week of September 12th. Final deployment timing and details will be shared with all publishers before the change is deployed.&lt;/p&gt;

&lt;p&gt;For more details, see the documentation on the &lt;a href="/publisher/workflow"&gt;Publishing Workflow&lt;/a&gt; or read on.&lt;/p&gt;

&lt;h2&gt;What is it?&lt;/h2&gt;

&lt;p&gt;The Publishing Workflow changes some of the fundamental ways in which datasets work on Socrata. Instead of being a dataset being an always-live representation of your data &amp;ndash; where consumers see changes or updates you make in real time &amp;ndash; datasets will have two states: &lt;code&gt;Published&lt;/code&gt; and &lt;code&gt;Working Copy&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;A &lt;code&gt;Published&lt;/code&gt; dataset is a static, finalized copy of your data intended for sharing either with the public or within your organization. It represents a particular version of your dataset, and thus is locked against editing. In order to make edits to your datasets, you must first create a &lt;code&gt;Working Copy&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;A &lt;code&gt;Working Copy&lt;/code&gt; is an editable version of your dataset that is distinct from the &lt;code&gt;Published&lt;/code&gt; copy. Think of it as an internal draft copy of your dataset that you can collaborate with your coworkers on. You can make whatever changes you want to the &lt;code&gt;Working Copy&lt;/code&gt; without those changes being reflected in the Published copy. When you&amp;rsquo;re done with making your changes, you can &amp;ldquo;publish&amp;rdquo; the &lt;code&gt;Working Copy&lt;/code&gt; to be the new &lt;code&gt;Published Copy&lt;/code&gt;, and your changes will become live. Even better, the old &lt;code&gt;Published Copy&lt;/code&gt; becomes a &lt;code&gt;Snapshot&lt;/code&gt;, which you can reference as a historical version of the dataset.&lt;/p&gt;

&lt;h2&gt;What are the benefits of it?&lt;/h2&gt;

&lt;p&gt;There are many benefits to the Publishing Workflow, but here are a few of our favorites:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Since there is an explicit publishing step, &lt;code&gt;Published&lt;/code&gt; copies can be heavily cached, allowing us to improve the performance of datasets both large and small&lt;/li&gt;
&lt;li&gt;Since you can make changes to a &lt;code&gt;Working Copy&lt;/code&gt; without affecting the &lt;code&gt;Published&lt;/code&gt; copy, you have a chance to review updates for correctness, clarity, and completeness before they go live. You can even share them within your organization to get approval before the changes are published. No longer will you have to fear that the changes or updates you&amp;rsquo;re making will break your dataset!&lt;/li&gt;
&lt;li&gt;Since old versions of your dataset are archived as &lt;code&gt;Snapshots&lt;/code&gt;, and even accessible via the Consumer API, you can keep historical archives of your dataset around to show how it has changed over time.&lt;/li&gt;
&lt;/ul&gt;


&lt;h2&gt;How does it impact me? How do I prepare for the change?&lt;/h2&gt;

&lt;p&gt;The Publishing Workflow will be available both in the online Socrata Publisher tools and also in the Publisher API. For users of the online Publisher tools, all you&amp;rsquo;ll need to do is click the provided button to create a &lt;code&gt;Working Copy&lt;/code&gt; before modifying your dataset.&lt;/p&gt;

&lt;p&gt;For users of the Publisher API, there are a few small modifications you&amp;rsquo;ll need to make to your client. Since you&amp;rsquo;ll need to create a &lt;code&gt;Working Copy&lt;/code&gt; of your dataset, and then publish your changes after you&amp;rsquo;re done, there are two additional calls you&amp;rsquo;ll need to make to the &lt;code&gt;/publication&lt;/code&gt; API in your workflow, like wrapping database updates in a transaction:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;First you&amp;rsquo;ll need to call &lt;code&gt;POST /api/views/$view_id/publication.json?method=copy&lt;/code&gt; to create the &lt;code&gt;Working Copy&lt;/code&gt;. The response to this service call will include the metadata and ID of the &lt;code&gt;Working Copy&lt;/code&gt; that was created.&lt;/li&gt;
&lt;li&gt;Next you&amp;rsquo;ll make your updates to your dataset as usual, this time substituting the &lt;code&gt;Working Copy&lt;/code&gt; for the original dataset.&lt;/li&gt;
&lt;li&gt;Finally you&amp;rsquo;ll call &lt;code&gt;POST /api/views/$working_copy_view_id/publication.json&lt;/code&gt; in order to publish the &lt;code&gt;Working Copy&lt;/code&gt; as the new &lt;code&gt;Published Copy&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;That&amp;rsquo;s it. For more details, see the detailed documentation on the &lt;a href="/publisher/workflow"&gt;Publishing Workflow&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;tl;dr &amp;ndash; That was all far too much, give me the short version&lt;/h2&gt;

&lt;p&gt;Socrata will soon be deploying changes to the Publisher API that will make it possible for you to isolate changes to datasets from the version consumers on your data site will see.&lt;/p&gt;

&lt;p&gt;You&amp;rsquo;ll need to update your Publisher API client by the week of September 12th to take advantage of these changes. For more details, see the documentation on the &lt;a href="/publisher/workflow"&gt;Publishing Workflow&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;Help! I&amp;rsquo;m not sure how to migrate my code!&lt;/h2&gt;

&lt;p&gt;If you have additional questions about the Publishing Workflow that aren&amp;rsquo;t answered by here or in the &lt;a href="/publisher/workflow"&gt;documentation&lt;/a&gt;, please email your questions or concerns to &lt;a href="mailto:support@socrata.com"&gt;support@socrata.com&lt;/a&gt;.&lt;/p&gt;
&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/socrata-soda?a=vpbASyTVV9w:35cCUaa0Kzk:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/socrata-soda?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/socrata-soda?a=vpbASyTVV9w:35cCUaa0Kzk:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/socrata-soda?i=vpbASyTVV9w:35cCUaa0Kzk:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/socrata-soda?a=vpbASyTVV9w:35cCUaa0Kzk:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/socrata-soda?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content>
  <feedburner:origLink>http://dev.socrata.com/2011/08/25/important-changes-to-the-publisher-api-publishing-workflow/</feedburner:origLink></entry>
  <entry>
    <title>Important change to SODA APIs: HTTPS Everywhere</title>
    <link rel="alternate" href="http://feedproxy.google.com/~r/socrata-soda/~3/TWFHX-uzFEk/" />
    <id>http://dev.socrata.com/2011/05/23/important-change-to-soda-apis-https-everywhere/</id>
    <published>2011-05-23</published>
    <updated>2011-05-23</updated>
    <author>
      <name>Chris Metcalf</name>
    </author>
    <summary type="html">&lt;p&gt;In the coming week, we will be enabling a new feature on all Socrata-powered data sites that we call &amp;ldquo;HTTPS Everywhere&amp;rdquo;. This frequently-requested feature will change the behavior of our platform to use secure HTTPS connections, just like your bank uses, for all interactions rather than just for the login page. This means that not only will your login be secure, but your entire session will be protected against the possibility of having a malicious third party hijack your session credentials using a technique that has gained some notoriety recently in the news as &amp;ldquo;&lt;a href="http://en.wikipedia.org/wiki/Session_hijacking"&gt;sidejacking&lt;/a&gt;&amp;rdquo;. Sidejacking allows a malicious third party on the same network as you to steal your session information and masquerade as you without needing to steal your username and password. Many prominent companies such as Google and Facebook allow HTTPS everywhere as an option &amp;ndash; we are going a step further by making this the default for all data sites&amp;hellip;&lt;/p&gt;
</summary>
    <content type="html">&lt;p&gt;In the coming week, we will be enabling a new feature on all Socrata-powered data sites that we call &amp;ldquo;HTTPS Everywhere&amp;rdquo;. This frequently-requested feature will change the behavior of our platform to use secure HTTPS connections, just like your bank uses, for all interactions rather than just for the login page. This means that not only will your login be secure, but your entire session will be protected against the possibility of having a malicious third party hijack your session credentials using a technique that has gained some notoriety recently in the news as &amp;ldquo;&lt;a href="http://en.wikipedia.org/wiki/Session_hijacking"&gt;sidejacking&lt;/a&gt;&amp;rdquo;. Sidejacking allows a malicious third party on the same network as you to steal your session information and masquerade as you without needing to steal your username and password. Many prominent companies such as Google and Facebook allow HTTPS everywhere as an option &amp;ndash; we are going a step further by making this the default for all data sites.&lt;/p&gt;

&lt;p&gt;For API users, this means that &lt;strong&gt;all&lt;/strong&gt; interactions with the Socrata Open Data Consumer and Publisher APIs must be performed over secure HTTPS connections. Otherwise, everything will continue to operate the same.&lt;/p&gt;

&lt;p&gt;We&amp;rsquo;ll be rolling out this feature on May 27th at 5PM Pacific Time. If you have any questions, feel free to email us at &lt;a href="mailto:support@socrata.com"&gt;support@socrata.com&lt;/a&gt; or comment below.&lt;/p&gt;
&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/socrata-soda?a=TWFHX-uzFEk:Cr40zxa57g8:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/socrata-soda?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/socrata-soda?a=TWFHX-uzFEk:Cr40zxa57g8:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/socrata-soda?i=TWFHX-uzFEk:Cr40zxa57g8:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/socrata-soda?a=TWFHX-uzFEk:Cr40zxa57g8:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/socrata-soda?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content>
  <feedburner:origLink>http://dev.socrata.com/2011/05/23/important-change-to-soda-apis-https-everywhere/</feedburner:origLink></entry>
  <entry>
    <title>Join Socrata at Open Gov West 2011</title>
    <link rel="alternate" href="http://feedproxy.google.com/~r/socrata-soda/~3/wMP5nnjwRs8/" />
    <id>http://dev.socrata.com/2011/05/03/join-socrata-at-open-gov-west-2011/</id>
    <published>2011-05-03</published>
    <updated>2011-05-03</updated>
    <author>
      <name>Chris Metcalf</name>
    </author>
    <summary type="html">&lt;p&gt;&lt;a href="http://www.opengovwest.org/events/conference/opengovwest-11/"&gt;&lt;img src="/images/posts/2011-05-03-open-gov-west.jpg" alt="Open Gov West" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Socrata is excited to be taking part in the &lt;a href="http://www.opengovwest.org/events/conference/opengovwest-11/"&gt;Open Gov West&lt;/a&gt; &lt;a href="http://www.opengovwest.org/events/conference/opengovwest-11/1304-2/"&gt;Cross-Gov Civic Apps Contest&lt;/a&gt; on May 14, 2011&amp;hellip;&lt;/p&gt;
</summary>
    <content type="html">&lt;p&gt;&lt;a href="http://www.opengovwest.org/events/conference/opengovwest-11/"&gt;&lt;img src="/images/posts/2011-05-03-open-gov-west.jpg" alt="Open Gov West" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Socrata is excited to be taking part in the &lt;a href="http://www.opengovwest.org/events/conference/opengovwest-11/"&gt;Open Gov West&lt;/a&gt; &lt;a href="http://www.opengovwest.org/events/conference/opengovwest-11/1304-2/"&gt;Cross-Gov Civic Apps Contest&lt;/a&gt; on May 14, 2011.&lt;/p&gt;

&lt;p&gt;As we&amp;rsquo;ve done with several of our hackathons in the past, we&amp;rsquo;re partnering up with our good friends at &lt;a href="http://www.tropo.com"&gt;Tropo&lt;/a&gt; for this event. It runs from 9AM to 7PM on Saturday, May 14, and we&amp;rsquo;re excited to have a great group of government participants from across the Pacific Northwest, including representatives from the Portland, Seattle, King County, and the State of Oregon.&lt;/p&gt;

&lt;p&gt;The theme of the event is &amp;ldquo;cross-government applications&amp;rdquo;, and Socrata and Tropo will be kicking in prizes for the teams that build the best apps judged by the following criteria:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The top three projects will be awarded prizes based on the following criteria:&lt;/li&gt;
&lt;li&gt;Most innovation use of technology.&lt;/li&gt;
&lt;li&gt;Problem or public policy imperative addressed.&lt;/li&gt;
&lt;li&gt;Reusability of solution or service by multiple governments.&lt;/li&gt;
&lt;li&gt;Use of multiple data sets or APIs.&lt;/li&gt;
&lt;li&gt;Availability of source code or application to interested governments.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;For more details, see the &lt;a href="http://www.opengovwest.org/events/conference/opengovwest-11/1304-2/cross-gov-apps-contest-rules/"&gt;contest rules&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The event is part of the Open Gov West conference itself, so you will need a ticket, but there are developer sponsorships available for those who qualify. Make sure you &lt;a href="http://www.opengovwest.org/events/conference/opengovwest-11/1304-2/"&gt;sign up&lt;/a&gt; or &lt;a href="http://opengovwest.eventbrite.com/"&gt;order your ticket soon&lt;/a&gt;. See you there!&lt;/p&gt;
&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/socrata-soda?a=wMP5nnjwRs8:pyLLPs2vd3c:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/socrata-soda?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/socrata-soda?a=wMP5nnjwRs8:pyLLPs2vd3c:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/socrata-soda?i=wMP5nnjwRs8:pyLLPs2vd3c:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/socrata-soda?a=wMP5nnjwRs8:pyLLPs2vd3c:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/socrata-soda?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content>
  <feedburner:origLink>http://dev.socrata.com/2011/05/03/join-socrata-at-open-gov-west-2011/</feedburner:origLink></entry>
  <entry>
    <title>Important changes to policies on authenticated requests</title>
    <link rel="alternate" href="http://feedproxy.google.com/~r/socrata-soda/~3/RI1ZL9SY0Go/" />
    <id>http://dev.socrata.com/2011/03/15/important-changes-to-policies-on-authenticated-requests/</id>
    <published>2011-03-15</published>
    <updated>2011-03-15</updated>
    <author>
      <name>Chris Metcalf</name>
    </author>
    <summary type="html">&lt;p&gt;As a part of our ongoing commitment to constantly re-evaluating the security of our APIs, we&amp;rsquo;ve made some changes to the requirements for authenticated requests to the Socrata Open Data API&amp;hellip;&lt;/p&gt;
</summary>
    <content type="html">&lt;p&gt;As a part of our ongoing commitment to constantly re-evaluating the security of our APIs, we&amp;rsquo;ve made some changes to the requirements for authenticated requests to the Socrata Open Data API.&lt;/p&gt;

&lt;p&gt;Note that these changes only affect &lt;em&gt;authenticated&lt;/em&gt; requests, so the vast majority of API users are not affected. This change only affects data publishing clients that are making authenticated requests in order to modify data. It does not affect unauthenticated read-only request from users of the Socrata Open Data Consumer API.&lt;/p&gt;

&lt;p&gt;The following rules must be followed for all authenticated requests:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;You can continue to use Basic Auth, but we&amp;rsquo;re requiring that all requests that modify data be made over HTTPS.&lt;/li&gt;
&lt;li&gt;Authenticated requests are also now required to include an Application Token with every request.&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;You will also no longer be able to use cookie-based authentication, as this can lead to insecure practices.&lt;/p&gt;

&lt;p&gt;Adding an application token to your requests is straightforward:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="/register"&gt;Register for an app token for your application&lt;/a&gt;. If you don&amp;rsquo;t want information about your application to be public, you can make the application profile private.&lt;/li&gt;
&lt;li&gt;Add your app token to your request using either the &lt;code&gt;app_token&lt;/code&gt; parameter or using the &lt;code&gt;X-App-Token&lt;/code&gt; HTTP header.&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;For more information, see the article on &lt;a href="/authentication"&gt;API authentication&lt;/a&gt;. You can also ask questions via the &lt;a href="http://support.socrata.com/forums/344875-developers-forum"&gt;Developer Forum&lt;/a&gt;.&lt;/p&gt;
&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/socrata-soda?a=RI1ZL9SY0Go:6gBGsLKGs18:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/socrata-soda?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/socrata-soda?a=RI1ZL9SY0Go:6gBGsLKGs18:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/socrata-soda?i=RI1ZL9SY0Go:6gBGsLKGs18:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/socrata-soda?a=RI1ZL9SY0Go:6gBGsLKGs18:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/socrata-soda?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content>
  <feedburner:origLink>http://dev.socrata.com/2011/03/15/important-changes-to-policies-on-authenticated-requests/</feedburner:origLink></entry>
  <entry>
    <title>Join us at Civic Hack Day Baltimore</title>
    <link rel="alternate" href="http://feedproxy.google.com/~r/socrata-soda/~3/ZUWFcb8VOXY/" />
    <id>http://dev.socrata.com/2011/02/07/join-us-at-civic-hack-day-baltimore/</id>
    <published>2011-02-07</published>
    <updated>2011-02-07</updated>
    <author>
      <name>Chris Metcalf</name>
    </author>
    <summary type="html">&lt;p&gt;&lt;a href="http://civichackday.eventbrite.com/"&gt;&lt;img src="/images/posts/2011-02-07-civic-hack-day.jpg" alt="Open Baltimore" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now that the Socrata-powered &lt;a href="http://data.baltimorecity.gov"&gt;OpenBaltimore&lt;/a&gt; is officially launched, I&amp;rsquo;m excited to be joining the gang from &lt;a href="http://www.tropo.com"&gt;Tropo&lt;/a&gt; on Saturday, February 12 for &lt;a href="http://civichackday.eventbrite.com/"&gt;Civic Hack Day&lt;/a&gt; at the &lt;a href="http://beehivebaltimore.org/"&gt;Beehive&lt;/a&gt;. It should be a great opportunity for everybody to start getting their hands dirty with Baltimore&amp;rsquo;s new data site and build some awesome apps using the SODA API. I&amp;rsquo;m looking forward to interacting with the Baltimore open data community to see what we can create together&amp;hellip;&lt;/p&gt;
</summary>
    <content type="html">&lt;p&gt;&lt;a href="http://civichackday.eventbrite.com/"&gt;&lt;img src="/images/posts/2011-02-07-civic-hack-day.jpg" alt="Open Baltimore" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now that the Socrata-powered &lt;a href="http://data.baltimorecity.gov"&gt;OpenBaltimore&lt;/a&gt; is officially launched, I&amp;rsquo;m excited to be joining the gang from &lt;a href="http://www.tropo.com"&gt;Tropo&lt;/a&gt; on Saturday, February 12 for &lt;a href="http://civichackday.eventbrite.com/"&gt;Civic Hack Day&lt;/a&gt; at the &lt;a href="http://beehivebaltimore.org/"&gt;Beehive&lt;/a&gt;. It should be a great opportunity for everybody to start getting their hands dirty with Baltimore&amp;rsquo;s new data site and build some awesome apps using the SODA API. I&amp;rsquo;m looking forward to interacting with the Baltimore open data community to see what we can create together.&lt;/p&gt;

&lt;p&gt;So, if you&amp;rsquo;re in the Baltimore area and you&amp;rsquo;re interested in open data, &lt;a href="http://civichackday.eventbrite.com/"&gt;come hack with us!&lt;/a&gt;&lt;/p&gt;
&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/socrata-soda?a=ZUWFcb8VOXY:gerM0fZDw6A:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/socrata-soda?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/socrata-soda?a=ZUWFcb8VOXY:gerM0fZDw6A:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/socrata-soda?i=ZUWFcb8VOXY:gerM0fZDw6A:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/socrata-soda?a=ZUWFcb8VOXY:gerM0fZDw6A:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/socrata-soda?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content>
  <feedburner:origLink>http://dev.socrata.com/2011/02/07/join-us-at-civic-hack-day-baltimore/</feedburner:origLink></entry>
  <entry>
    <title>Making government data accessible by phone using SODA and Tropo</title>
    <link rel="alternate" href="http://feedproxy.google.com/~r/socrata-soda/~3/4ZGS4CESM_0/" />
    <id>http://dev.socrata.com/2010/10/28/making-government-data-accessible-by-phone-using-soda-and-tropo/</id>
    <published>2010-10-28</published>
    <updated>2010-10-28</updated>
    <author>
      <name>Chris Metcalf</name>
    </author>
    <summary type="html">&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; I&amp;rsquo;ve updated the script to handle text messaging as well. Details &lt;a href="#textmessaging"&gt;below&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In an age of smart phones, iPads, and the mobile web, we often forget that a huge portion of the population doesn&amp;rsquo;t even have access to the Internet. How do we make sure that no one is denied access to the excellent advances we&amp;rsquo;re making in open government data? One great option is to make that information accessible via a technology we&amp;rsquo;ve had for the last 134 years &amp;ndash; the telephone.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.flickr.com/photos/splorp/64027565/sizes/m/in/photostream/"&gt;&lt;img src="http://farm1.static.flickr.com/31/64027565_79b890c8c4.jpg" alt="Phone" /&gt;&lt;/a&gt;&lt;/p&gt;
</summary>
    <content type="html">&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; I&amp;rsquo;ve updated the script to handle text messaging as well. Details &lt;a href="#textmessaging"&gt;below&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In an age of smart phones, iPads, and the mobile web, we often forget that a huge portion of the population doesn&amp;rsquo;t even have access to the Internet. How do we make sure that no one is denied access to the excellent advances we&amp;rsquo;re making in open government data? One great option is to make that information accessible via a technology we&amp;rsquo;ve had for the last 134 years &amp;ndash; the telephone.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.flickr.com/photos/splorp/64027565/sizes/m/in/photostream/"&gt;&lt;img src="http://farm1.static.flickr.com/31/64027565_79b890c8c4.jpg" alt="Phone" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Earlier this week I was asked to speak at a &lt;a href="http://www.kingcounty.gov/exec/news/release/2010/October/25OpenData2.aspx"&gt;King County Open Data Workshop&lt;/a&gt; and talk to some of Seattle&amp;rsquo;s civic developers about what they could build using the Socrata Open Data API and data published by King County on their &lt;a href="http://www.datakc.org"&gt;DataKC.org&lt;/a&gt; Socrata-powered datasite.&lt;/p&gt;

&lt;p&gt;Stretched for time, and wanting to build something compelling, I thought about
what &amp;ldquo;itches&amp;rdquo; I&amp;rsquo;d had in the past that could have been scratched with an app
built using the SODA API. After finding King County&amp;rsquo;s &lt;a href="http://www.datakc.org/Government/What-do-I-do-with-Recycling-options-in-King-County/zqwi-c5q3"&gt;What do I do with&amp;hellip;?&lt;/a&gt; dataset of recycling options in my area, I remembered the first Christmas I hosted in Seattle. Finding myself in the &amp;ldquo;Evergreen State&amp;rdquo;, and never having had a &amp;ldquo;real tree&amp;rdquo; before, I went down to the local Boy Scout tree sale and bought my first ever live Christmas tree. Not knowing what to do with it, I held onto that tree until almost February, until it was good and brown and crispy. &lt;strong&gt;What if King County had an automated hotline I could have called in order to find out where I could take my tree for composting?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;And thus, an hour and 100 heavily-commented lines later, the &lt;a href="http://christmas-tree-disposal.heroku.com/"&gt;King County Christmas Tree
Disposal Line&lt;/a&gt; was born:&lt;/p&gt;

&lt;p&gt;&lt;a href="http://christmas-tree-disposal.heroku.com/"&gt;&lt;img src="/images/posts/2010-10-28-kc_christmas_tree_line.png" alt="King County Christmas Tree Disposal Line" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Built using the great tools from our friends at &lt;a href="http://www.tropo.com"&gt;Tropo&lt;/a&gt;,
the app is very simple. First, we tell Tropo to answer the phone, greet our
user, and accept a five-digit zip code, either entered via the keypad or speech
to text:&lt;/p&gt;

&lt;script src="http://gist.github.com/652184.js?file=gistfile1.rb"&gt;&lt;/script&gt;


&lt;p&gt;The &lt;code&gt;lookup_facilities&lt;/code&gt; function then builds a filtered query using the SODA API to
request matching facilities:&lt;/p&gt;

&lt;script src="http://gist.github.com/652186.js?file=gistfile1.rb"&gt;&lt;/script&gt;


&lt;p&gt;That&amp;rsquo;s really about it. The &lt;a href="https://www.tropo.com/docs/scripting/"&gt;Tropo Scripting API&lt;/a&gt; needs a URL from which to load the script to run, so I created a simple &lt;a href="http://rack.rubyforge.org/"&gt;Rack&lt;/a&gt; app hosted on &lt;a href="http://www.heroku.com"&gt;Heroku&lt;/a&gt; that simply hosts the &lt;a href="http://christmas-tree-disposal.heroku.com/rb/christmas.rb"&gt;christmas.rb&lt;/a&gt; file along with a &lt;a href="http://christmas-tree-disposal.heroku.com/"&gt;homepage with a cute little tree&lt;/a&gt;. If you want to check it out or fork the code for yourself, I&amp;rsquo;ve pushed the whole shebang up to &lt;a href="http://github.com/socrata/christmas-tree-disposal-line"&gt;Github&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If you want to give it a try, simply call &lt;code&gt;(206) 397-0769&lt;/code&gt; and enter a Seattle-area zip code, like &lt;code&gt;98133&lt;/code&gt;.  Tropo also supports SMS, IM protocols, and even Twitter, so there is much more left to explore. If you build something cool, make sure you &lt;a href="/submit-your-app/"&gt;submit your app&lt;/a&gt; and leave a comment below. Good luck!&lt;/p&gt;

&lt;p&gt;&lt;a name="textmessaging"&gt;&lt;strong&gt;Update:&lt;/strong&gt;&lt;/a&gt; I&amp;rsquo;ve updated the Tropo script to handle requests via text message as well. Besides some general refactoring, the key was checking the Tropo session&amp;rsquo;s &lt;code&gt;initialText&lt;/code&gt; value to see if the sender sent a text message to start with. The rest of the details can be found in &lt;a href="https://github.com/socrata/christmas-tree-disposal-line/commit/88d9bb4584f00e2fe828b754f79ada1d55a058b1"&gt;my diff&lt;/a&gt;:&lt;/p&gt;

&lt;script src="https://gist.github.com/671812.js?file=gistfile1.rb"&gt;&lt;/script&gt;


&lt;p&gt;&lt;em&gt;Photo from &lt;a href="http://www.flickr.com/photos/splorp/"&gt;slorp&lt;/a&gt;&amp;rsquo;s CC-licensed Flickr photostream&lt;/em&gt;&lt;/p&gt;
&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/socrata-soda?a=4ZGS4CESM_0:QoQr592Lme4:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/socrata-soda?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/socrata-soda?a=4ZGS4CESM_0:QoQr592Lme4:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/socrata-soda?i=4ZGS4CESM_0:QoQr592Lme4:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/socrata-soda?a=4ZGS4CESM_0:QoQr592Lme4:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/socrata-soda?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content>
  <feedburner:origLink>http://dev.socrata.com/2010/10/28/making-government-data-accessible-by-phone-using-soda-and-tropo/</feedburner:origLink></entry>
</feed>
