Media Analytics with R
Preface
0.1
Who is this book for?
0.2
Why R?
0.3
What will we learn to do with R in this book?
0.4
Installing the Software
0.5
Getting Started
0.6
R Studio Projects
1
Intro to Programming in R
1.1
Creating a New Project in R Studio
1.2
Loading Packages and Data
1.3
%>%
1.4
Filtering Data
1.5
Visualizing
1.6
Syntax
1.7
Creating Variables
1.8
Modifying Data
1.9
Count
1.10
More Aesthetics
1.11
Review
2
Manipulating Data
2.1
Mutate
2.2
Group_by , Summarize()
2.3
Working with Strings
2.3.1
Practical Applications of Stringr
2.4
Average name length over time
2.5
Revisiting summarize()
2.6
Additional Functions
2.7
Case Study: Born Without A (Proper) Name
2.8
Assignment
2.9
Students Works
3
Statistical Analyses of a Single Variable
3.1
Variables & Levels of Measurement
3.1.1
Nominal Data
3.1.2
Ordinal Data
3.1.3
Interval Data
3.1.4
Ratio Data
3.2
Frequency Distribution
3.3
Percentage Change
3.4
Relative Frequency
3.5
Percentage Points
3.6
Rate
3.7
Ratio
3.8
Central Tendency
3.9
Data Variation
3.10
Assignment: Analyzing a Single Variable
4
Statistical Analyses of Two Variables
4.1
Cross-tab
4.2
Independent Variable VS. Dependent Variable
4.3
Independent sample T-Test
4.3.1
ANOVA
4.4
Correlation
4.5
Regression
5
Statistical Analyses of Three or More Variables & Modelling
5.1
linear Regression
5.2
Interaction Effects
5.3
Assignment
5.3.1
Linear Regression and Correlation
5.3.2
Multiple Regression Analysis
6
Accessing Twitter’s API in R
6.1
Making Your First Request to the New Twitter API v2
6.2
Using You Twitter App in R
6.3
Analyzing Twitter Data
6.3.1
Lubridate & Working with Time
6.3.2
Tweet Source
6.3.3
Text Analysis in Twitter
6.4
Search Keywords/Search Users by Keywords/Hashtags
6.5
Assignment
6.5.1
Sample code
7
Text Analysis
7.1
Basic Text Analysis
7.1.1
Creating a Corpus
7.1.2
Finding Common Words
7.1.3
Bigrams
7.1.4
Word Clouds
7.1.5
Sentiment
7.2
A Case Study of Text Analysis of Social Media Text
7.2.1
Using APIs for Data Collection
7.2.2
Removing Stop Words & Stemming
7.2.3
Frequency Analysis
7.2.4
Sentiment Analysis
7.2.5
Bigram Analysis
7.2.6
Topic Modeling
7.3
Semantic Network Analysis of Social Media Text
7.4
Assignment
8
Network Analysis
9
Geo-Spatial Analysis and Visualizations
10
Publishing
Published with bookdown
Media Analytics With R
Chapter 8
Network Analysis