Created
December 13, 2020 09:24
-
-
Save audhiaprilliant/8701780ca439bfad79638220a49286b3 to your computer and use it in GitHub Desktop.
Twitter Data Visualization using ggplot2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Import libraries | |
| library(ggplot2) | |
| library(lubridate) | |
| # Load the data of Joko Widodo | |
| data.jokowi.df = read.csv(file = 'data-joko-widodo.csv', | |
| header = TRUE, | |
| sep = ',') | |
| senti.jokowi = read.csv(file = 'sentiment-joko-widodo.csv', | |
| header = TRUE, | |
| sep = ',') | |
| # Load the data of Prabowo Subianto | |
| data.prabowo.df = read.csv(file = 'data-prabowo-subianto.csv', | |
| header = TRUE, | |
| sep = ',') | |
| senti.prabowo = read.csv(file = 'sentiment-prabowo-subianto.csv', | |
| header = TRUE, | |
| sep = ',') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment