R used to generate views of ScraperWiki's Twitter Search tool
✓ Published0🌍 Public
IIanHopkinson
Last edited Aug 20, 2013
Created on Aug 20, 2013
This example visualizes the frequency of tweets over time, showing the number of tweets per minute from a ScraperWiki Twitter search dataset. The chart displays a histogram of tweet timestamps, with the x-axis representing dates and the y-axis showing tweet counts, capped at 40,000 tweets. The R script uses the `ggplot2` and `scales` libraries to bin the timestamps into 60-second intervals and render the plot. It queries data via ScraperWiki’s SQL interface, converts the `created_at` strings to POSIX date objects, and uses `qplot` and `ggplot_build` to construct and refine the histogram. The visualization highlights temporal activity patterns in the collected tweets.
AI-generated description