Charting Twitter time series data with tweet and unique user counts

Let’s say you’ve used my Python script to automate the download of a hashtag or search phrase from Twitter (in a Unicode safe way, unlike within R).  Now let’s say you want to visualize the number of tweets over time.  Easy enough – I’ve also shared this R/ggplot2 code that accomplishes the task.  However, let’s say you now want a plot that has both frequency in one dimension (height/y) and the number of unique users in another (color, fill transparency, etc.).  What do you do?

To make  your life easier, I’ve published this simple R/ggplot2 script on Github to help.  Embedded below:

CEO and Founder of Bommarito Consulting. View Michael's profile here.

Tagged with: , , ,
Posted in Consulting, Programming, Research

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>