This following document shows a basic example of the type of
analysis that could be extracted from this group project. With Research
Question 2, a key objective is analyzing Lincoln Financials’ social
media over their key competitors. Therefore, I chose to use a stacked
column chart to show and compare the social media data of the financial
institutions. Sample data was compiled manually into Excel for the
purposes of this initial project discussion; however, more efficient
methods would be used to pull relevant data later.
Sample Analysis
library(ggplot2)
# Lincoln vs. Prudential Followers Gained
ggplot(data, aes(x = Month, y = FollowersGained, fill = Company)) +
geom_col(position = "stack") +
coord_flip() +
labs(title = "Comparison of Total Monthly Followers Gained by Lincoln and Prudential", x = "Month", y = "Followers Gained")

# Lincoln vs. Prudential Media Posted During the Same period
ggplot(data, aes(x = Month, y = MediaPosted, fill = Company)) +
geom_col(position = "stack",) +
coord_flip() +
labs(title = "Comparison of Total Monthly Media Posted by Lincoln and Prudential", x = "Month", y = "Media Posted")
