Skip to Content
Krannert Purdue Logo

Analytics Practice : Twitter text analysis with SAS

This is a SAS version of doing Twitter text mining. Though the process can be more difficult than R, SAS does have some advantages for doing text mining. It can asscess all API libraries provided by Twitter so you may get a comprehensive result all at once.

For this example, you may download SAS codes here. Also, you will need some java classes, Groovy jar and opencsv jar, for this exercise. You will need to put them in the same folder for convenience. The jar files are up to date as of Nov. 9th 2017.

To asscess Twitter documentations visit https://developer.twitter.com/en/docs/tweets/data-dictionary/overview/intro-to-tweet-json.

In the case groovy jar files are outdated, please visit http://groovy-lang.org/download.html.
In the case opencsv jar files are outdated, please visit https://sourceforge.net/projects/opencsv/files/opencsv/.