programming for interaction project proposal
UNDER THE WEATHER? visualizing reactions to the weather on twitter INTRODUCTION Weather is the most immediate way in which we interact with the environment. We can’t help but be affected by it. It’s one of the first topics we reach for when we’re making small talk or idly posting to Twitter. But as we know, people’s perception of the weather is highly subjective: we’ve probably all overheard, or even participated in, a lighthearted debate over whether or not 50˚F is “freezing cold” or “t-shirt weather.” Under the Weather? is a Processing app that juxtaposes positive and negative reactions to the weather for a particular city. When the program is run, the user is presented with a choice of four cities across the U.S. City selections are made by pressing a switch connected to the installation. Selecting a city will display a screen split horizontally into three sections: the top section displays the number of positive remarks about the weather made by people in that city, the middle section displays the current weather in the city, and the bottom section displays the number of negative comments.
IMPLEMENTATION Weather data from four cities will be collected in a Processing sketch using the Weather Underground API. Tweets will be collected from Twitter’s Search API, which includes tools to search public tweets specifying parameters such as location, positive tone, and negative tone. Buttons or switches connected via Arduino will allow the user to select the city for which they wish to see data. Weather data will be displayed in the center with the city, date, temperature, type of weather, and additional information. The top and bottom sections contain glyphs that represent the number of tweets expressing positive or negative sentiments about the weather. Each glyph will represent one tweet. Twitter data will be limited to the past 6 hours. Appendix A: Hardware Button Pad 2x2 - LED Compatible http://www.sparkfun.com/products/7836 Button Pad 2x2 - Breakout PCB http://www.sparkfun.com/products/9277 Button Pad 2x2 Bottom Bezel http://www.sparkfun.com/products/8747 Appendix B: Software Libraries HTTP Library for Processing http://francisli.github.com/processing-http/ Weather Underground API http://www.wunderground.com/weather/api/ We Feel Fine API http://wefeelfine.org/api.html Appendix C: Sample Code & Tutorials Twitter API: Search by time http://stackoverflow.com/questions/6819211/twitter-search-api-searching-by-time Using the Twitter Search API https://dev.twitter.com/docs/using-search Your Random Numbers - Getting Started with Processing and Data Visualization http://blog.blprnt.com/blog/blprnt/your-random-numbers-getting-started-with-processing-and-data-visualization Using SparkFun’s 2x2 RGB LED Button Pad with an Arduino http://www.aarongoselin.com/active-posts/28-using-sparkfuns-2x2-rgb-led-button-pad-with-an-arduino
Final project proposal [PDF]
















