SAS programmers: meet Twitter


"Twitter, thou art nought but data." So sayeth the SAS programmer.

Many data analysts now recognize Twitter for what it is: a tremendous source of data covering almost any topic, from Justin Bieber's hair to political uprisings to technical conferences to company brands. SAS offers sophisticated solutions to harness this data, merging it with lots of other data sources and analyzing it all for you. I think that we'll see an impressive showing of this in action at SAS Global Forum this year.

But SAS programmers want to get into the act as well, and at least for Twitter data, it's easy to do. I wrote about one simple method back in 2008, but we've come a long way since then.

I'll be talking about using SAS programs to get Twitter data at SAS Global Forum 2011, but I won't be the only one. Satish Garla sent me a note to say that he and his coauthor (Goutam Chakrabouty) are also presenting a SAS programming approach to Twitter.

I'll admit it right now: their approach is fancier than mine. They've developed a SAS macro named %GetTweet that accepts lots of parameters to tune the output. They also present some innovative approaches for analyzing the results, including graphs of rankings and network visualizations.

If you're attending SAS Global Forum, this is a presentation you might want to see. If you won't be there, you can still find the paper in the proceedings at %GetTweet: A New SAS® Macro to Fetch and Summarize Tweets.


About Author

Chris Hemedinger

Director, SAS User Engagement

+Chris Hemedinger is the Director of SAS User Engagement, which includes our SAS Communities and SAS User Groups. Since 1993, Chris has worked for SAS as an author, a software developer, an R&D manager and a consultant. Inexplicably, Chris is still coasting on the limited fame he earned as an author of SAS For Dummies


  1. Chris -

    Have you been able to successfully run the %gettweet macro recently? I have not been able to get it to run and I believe I received a response from SAS saying that it isn't supported going forward (changes from twitter) but shouldn't it still work? Have you had success recently?

  2. Pingback: Hammer time with high school students - The SAS Dummy

Back to Top