Skip to main content

Introduction to Text Analysis in R

Analyze text data in R using the tidy framework.

Start Course for Free
4 Hours15 Videos46 Exercises19,964 Learners

Create Your Free Account

GoogleLinkedInFacebook

or

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

Loved by learners at thousands of companies


Course Description

From social media to product reviews, text is an increasingly important type of data across applications, including marketing analytics. In many instances, text is replacing other forms of unstructured data due to how inexpensive and current it is. However, to take advantage of everything that text has to offer, you need to know how to think about, clean, summarize, and model text. In this course, you will use the latest tidy tools to quickly and easily get started with text. You will learn how to wrangle and visualize text, perform sentiment analysis, and run and interpret topic models.
  1. 1

    Wrangling Text

    Free

    Since text is unstructured data, a certain amount of wrangling is required to get it into a form where you can analyze it. In this chapter, you will learn how to add structure to text by tokenizing, cleaning, and treating text as categorical data.

    Play Chapter Now
    Text as data
    50 xp
    Airline tweets data
    100 xp
    Grouped summaries
    100 xp
    Counting categorical data
    50 xp
    Counting user types
    100 xp
    Summarizing user types
    100 xp
    Tokenizing and cleaning
    50 xp
    Tokenizing and counting
    100 xp
    Cleaning and counting
    100 xp
  2. 3

    Sentiment Analysis

    While word counts and visualizations suggest something about the content, we can do more. In this chapter, we move beyond word counts alone to analyze the sentiment or emotional valence of text.

    Play Chapter Now

In the following tracks

Marketing Analytics with RText Mining with R

Collaborators

Chester Ismay
Sumedh Panchadhar
Maham Khan HeadshotMaham Khan

Senior Data Science Content Developer at DataCamp

Hi, I am a Data Scientist and Senior Content Developer at DataCamp, on a mission to make data skills accessible for everyone. Most recently, I've worked on creating toolkits and exploring experimental applications of data science for urban analytics, disaster risk management and climate change mitigation, at the World Bank. I have a background in Experimental Psychology and Philosophy from the University of Oxford, and Urban Data Science from NYU.
See More

What do other learners have to say?

Join over 11 million learners and start Introduction to Text Analysis in R today!

Create Your Free Account

GoogleLinkedInFacebook

or

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