Skip to main content
Paul Love avatar

Paul Love has completed

Text Mining with Bag-of-Words in R

Start course For Free
4 hours
5,700 XP
Statement of Accomplishment Badge

Loved by learners at thousands of companies

Course Description

It is estimated that over 70% of potentially usable business information is unstructured, often in the form of text data. Text mining provides a collection of techniques that allows us to derive actionable insights from unstructured data. In this course, we explore the basics of text mining using the bag of words method. The first three chapters introduce a variety of essential topics for analyzing and visualizing text data. The final chapter allows you to apply everything you've learned in a real-world case study to extract insights from employee reviews of two major tech companies.
For Business

GroupTraining 2 or more people?

Get your team access to the full DataCamp library, with centralized reporting, assignments, projects and more
Try DataCamp for BusinessFor a bespoke solution book a demo.
  1. 1

    Jumping into Text Mining with Bag-of-Words


    In this chapter, you'll learn the basics of using the bag-of-words method for analyzing text data.

    Play Chapter Now
    What is text mining?
    50 xp
    Understanding text mining
    50 xp
    Quick taste of text mining
    100 xp
    Getting started
    50 xp
    Load some text
    100 xp
    Make the vector a VCorpus object (1)
    100 xp
    Make the vector a VCorpus object (2)
    100 xp
    Make a VCorpus from a data frame
    100 xp
    Cleaning and preprocessing text
    50 xp
    Common cleaning functions from tm
    100 xp
    Cleaning with qdap
    100 xp
    All about stop words
    100 xp
    Intro to word stemming and stem completion
    100 xp
    Word stemming and stem completion on a sentence
    100 xp
    Apply preprocessing steps to a corpus
    100 xp
    The TDM & DTM
    50 xp
    Understanding TDM and DTM
    50 xp
    Make a document-term matrix
    100 xp
    Make a term-document matrix
    100 xp

In the following tracks

Text Mining


Collaborator's avatar
Nick Carchedi
Collaborator's avatar
Tom Jeon


Intermediate R
Ted Kwartler HeadshotTed Kwartler

Adjunct Professor, Harvard University

Ted Kwartler is the VP, Trusted AI at DataRobot. At DataRobot, Ted sets product strategy for explainable and ethical uses of data technology in the company's application. Ted brings unique insights and experience utilizing data, business acumen and ethics to his current and previous positions at Liberty Mutual Insurance and Amazon. In addition to having 4 DataCamp courses he teaches graduate courses at the Harvard Extension School and is the author of Text Mining in Practice with R.
See More

Join over 13 million learners and start Text Mining with Bag-of-Words in R today!

Create Your Free Account



By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.