Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Text Mining and Sentiment Analysis with Tableau and R
Rating: 4.2 out of 5(497 ratings)
3,779 students

Text Mining and Sentiment Analysis with Tableau and R

Data Science with R and Tableau: Extract valuable info out of Twitter to rock in marketing, finance, or any research.
Last updated 9/2018
English

What you'll learn

  • Connect Twitter and R to harvest Tweets for certain keywords
  • Perform sentiment analysis based on a simple lexicon approach
  • Clean and process Tweets for further analysis
  • Export text based data and sentiment scores from R
  • Use Tableau to visualize sentiment analysis data
  • Identify situations where sentiment analysis can be applied in a company

Course content

4 sections36 lectures3h 57m total length
  • Introduction3:26

    Explore Twitter sentiment analysis using R and Tableau to harvest, clean, analyze, and visualize tweets with dashboards, maps, and time-based trends, using a simple English lexicon.

  • Managing Expectations, Prerequisites, Mission Statement5:50

    Apply text mining and lexicon-based sentiment analysis using R and Tableau. Harvest Twitter data across New York, Los Angeles, Toronto, and London to compare Samsung Galaxy and Apple iPhone sentiment.

  • Attention: New Developer Account Policy by Twitter0:11
  • Twitter Developer Account3:18

    Learn how to set up a Twitter developer account, obtain consumer key and secret and access tokens, and connect to the Twitter API for text data analysis in R.

  • Course Links0:04
  • Course R Script1:27
  • Required Packages7:47

    Learn to install and manage the essential packages for text mining and sentiment analysis in R, including Twitter API authentication and tweet harvesting.

  • Connection: R - Twitter4:43

    Connect Twitter to R by configuring consumer keys, secrets, and tokens through the setup Twitter auth workflow. Verify strings and store connection info before testing tweet search.

Requirements

  • You can use either Tableau Public (free) or Tableau Desktop
  • You need R and RStudio ready on your machine
  • We will create a Twitter developer account (Twitter account required)
  • You need basic R skills (course R Basics)

Description

Extract valuable info out of Twitter for marketing, finance, academic or professional research and much more.

This course harnesses the upside of R and Tableau to do sentiment analysis on Twitter data. With sentiment analysis you find out if the crowd has a rather positive or negative opinion towards a given search term. This search term can be a product (like in the course) but it can also be a person, region, company or basically anything as long as it is mentioned regularly on Twitter.

While R can directly fetch the text data from Twitter, clean and analyze it, Tableau is great at visualizing the data. And that is the power of the method outlined in this course. You get the best of both worlds, a dream team.

Content overview and course structure:

The R Side

Getting a Twitter developers account

Connection of Twitter and R

Getting the right packages for our approach

Harvesting Tweets and loading them into R

Refining the harvesting approach by language, time, user or geolocation

Handling Twitter meta data like: favorites, retweets, timelines, users, etc

Text cleaning

Sentiment scoring via a simple lexicon approach (in English)

Data export (csv) for further Tableau work

Tableau Side:

Data preparation for visualizations

Quick data exploration

Dashboards

Visualizing - 

  • Popularity of different products
  • Popularity between different locations on a map
  • Changes in popularity over time

You only need basic R skills to follow along. There is a free version of Tableau called Tableau public desktop, or even better: as a full time college student you can get a free but full version of Tableau desktop professional.

The course comes with the R code to copy into your R session.

Disclaimer required by Twitter: 'TWITTER, TWEET, RETWEET and the Twitter logo are trademarks of Twitter, Inc or its affiliates.'

Who this course is for:

  • Data professionals
  • Analysts in marketing, finance, ...
  • Marketing professionals
  • Entrepreneurs
  • Researchers