In the previous post, I have shown How to Fetch Twitter Data using R Programming. Before mining any kind of data we need to clean it and make it proper to apply mining technique. To mine the twitter data there are various inbuilt functions which we are going to use in this tutorial. For the demonstration process I have created function named “clean_text” which takes the text document and process it. Code of Clean_text() function To run the code you need to setup Twitter Connection and fetch some tweets. Below is the code where clean_text() function is called for text processing:
↧