top of page

Create Your First Project

Start adding your projects to your portfolio. Click on "Manage Projects" to get started

R: Text Mining

I installed the necessary packages/libraries, including ‘readtext’ so the Word data could be used. Next the document was inspected, using tm_map to look for certain symbols. Punctuation was removed and words were stemmed, again using tm-map. A matrix was built with the cleaned document, and finally the word cloud was created.
The two most common words found in the articles are obvious… “income” and “inequality”. However, drilling down a little deeper there are the most important words: global, market, geography, technology.

bottom of page