How does Campaign Funding Influence Approval Rating and Social Media Presence?

Grace McGuirk

5/15/2019

Introduction

There are 22 candidates on the Democratic ballot running for the 2020 Presidential Election. Some have vast political experience, serving as Senators and Vice Presidents, others are more limited as Mayors, and then some not at all. With a very scattered board in terms of experience, as well as gender, race, and ethnicity (or at least higher than in the past), it is an interesting and diverse election to watch. The multitude of candidates running on the Democrat ballot, with only two candidates on the Republican side also serves as a juxtaposition from last election with loads of Republicans and few Democrats. Here is the list of candidates that I will be analyzing:

Candidates

  1. Michael Bennet
  2. Joe Biden
  3. Cory Booker
  4. Pete Buttigieg
  5. Julian Castro
  6. John Delaney
  7. Tulsi Gabbard
  8. Kirsten Gillibrand
  9. Kamala Harris
  10. John Hickenlooper
  11. Jay Inslee
  12. Amy Klobuchar
  13. Wayne Messam
  14. Seth Moulton
  15. Beto O’Rourke
  16. Tim Ryan
  17. Bernie Sanders
  18. Eric Swalwell
  19. Elizabeth Warren
  20. Marianne Williamson
  21. Andrew Yang

*Note, Steve Bullock also has extremely limited information online so he will be eliminated from this pool for the sake of having content for this project.

Candidates have declared their campaigns at various points, some very early on in January and February, and others at the end of April. Regardless of these timelines, what will be analyzed today will be pertinent to the last two weeks of May and only things up to this point.

Hypothesis

This brings the hypothesis, which is with 22 democratic candidates running for president, campaign contributions to this point, most recent polls, and social media presence from the past two weeks will show a current trend that those with more money are excelling in polls and have a stronger social media presence.

Method

I began first by searching the Federal Election Commission website to see how much each candidate has fundraised. The candidates who don’t yet have a presence on the Federal Election Commission are Michael Bennet and Joe Biden: two candidates who have most recently declared their candidacy after the start of 4/1/19. The campaign fundraising for other candidates goes from the period 1/1/19-3/31/19. For Joe Biden, I read multiple articles clarifying the fact that he raised $6.3 in the first 24 hours that he declared his candidacy. Bennet, on the other hand, is very behind other candidates, and hasn’t even been transparent with his fundraising. This could also all change very quickly since it’s the very beginning.

Money Raised

After searching each candidate, I put their total contributions and the specific dates in which they fundraised the money. The majority of candidates have put their fundraising for the period of 1/1/19-3/31/19, with the exception of Mike Gravel who has money raised on his campaign website through small donations from 4/2/19 to 4/29/19. Other exceptions are Jay Inslee, Amy Klobuchar, and Marianne Williamson. While Inslee and Klobuchar have started fundraising early February, Williamson has been fundraising since November.

After creating this excel spreadsheet for each candidate, I then uploaded it into R to mine it and make visualizations. This is where I made the graph titled “Contributions for Democratic Presidential Candidates”. This graph compares how much each of the candidates has raised up until the most recent March 31st deadline.

Code:

demCandidates <- read_html(“https://en.wikipedia.org/wiki/2020_Democratic_Party_presidential_primaries”)

candidates <- html_nodes(demCandidates, “table”)

candidate_table <- demCandidates %>% html_nodes(“table”) %>% .[6] %>% html_table(fill = TRUE) as.data.frame(candidate_table) -> candidate_table

(The rest of the data was taken from excel and imported in, therefore didn’t need coding directly in R)

Polling

After that, I headed to the most recent polls, which were taken May 14th and include interviews with 15,770 registered voters nationwide. I then manually put this data into a spreadsheet with percentage approval ratings for the 21 candidates. Once that was put into R, I also made a visualization interpreting the data, “Approval Rating for Presidential Candidates”.

Twitter

With both the campaign contributions and polls under my belt, I continued to social media usage, specifically pertaining to Twitter usage: followers and likes. I first went through the Twitter API and then created a variable for each candidate pertaining to their followers. I used the “get_followers” function with their username in parentheses to see the amount of Twitter followers that each candidate has, and made a ggplot “Followers on Twitter” to track how many people could potentially see their tweets. Finally, to see the actual activity of candidates, I used the “get_timeline” function and plugged in their usernames once again. With this data, I refined by date to encompass only May as my timeframe for finding likes on Tweets. This way I could tally up the most recently Twitter fanbase activity for each candidate. Finally, I created a visualization for each candidate, and found the Tweets in the past two weeks with the biggest spikes. I then performed a comparative analysis between the content of these Tweets and how many likes they received to really see if those with the most funding have strong social media. Below is the code for one candidate (Joe Biden), which was performed for all 21.

Code:

create_token( app = “Grace Twitter Spring 2019”, consumer_key = “AZphzriCUT1rp9R2YYCjXpsAr”, consumer_secret = “j6Sv1GDOBSzkdHCEQqU7nCK7jDxff5DHOmEE1HxeWrxCWaMYVu”, access_token = “3386692228-bDwkVLT7e8aHydnjCoxCn7x6Euy2mrMPKRtMvnX”, access_secret = “VJNcn7cFLwJsTxkgmaVZkAkKLA0jZCH3KmwY0oBknNhoh”)

rt <- search_tweets( “#rstats”, n = 3000, retryonratelimit = TRUE )

get_followers(“JoeBiden”) -> joefollow joefollow$n <- c(1:5000)

get_timeline(“JoeBiden”, n=5000) -> jb

jb_favorite <- jb %>% select(created_at, favorite_count) %>% filter((created_at>= as.Date(“2019-04-29”))) jb_favorite <- jb %>% select(created_at, favorite_count) %>% filter((created_at>= as.Date(“2019-04-29”)))

jb_plot <- ggplot(jb_favorite, aes(created_at, favorite_count)) + geom_line() + xlab(“Date of Tweet Creation”) + ylab(“Likes on Tweets”) + ggtitle(“Likes on Tweets in May for Joe Biden”) + theme_minimal() + theme(plot.title = element_text(hjust = 0.5)) + geom_vline(xintercept = as.numeric(jb_favorite$created_at[56]), linetype = “dashed”, color = “red”)

Results

Contributions

The first graph below shows contributions that candidates have received from donations to their campaigns. These contributions go from 1/1/19-3/31/19 for most candidates, and mostly come from reports from the Federal Election Commission. Beto O’Rourke broke fundraising records in his campaign and even refused to take money from big corporations. Unfortunately, both Michael Bennet and Joe Biden announced their candidacy after the 3/31/19 Federal Election Commission deadline and therefore their only donation records are in articles written about them. Joe Biden raised $6.3 million in his first day of fundraising, so it can only be assumed that he has raised copious amounts since. Behind Beto is Bernie Sanders, and considering his 2016 campaign funds rolled over, this is also expected.

Graph for total amount each candidate has raised up to this point ggplot(total_contributions, aes(Candidate, Total_Contributions_Earning, fill = red)) + geom_col() + theme_minimal()+theme(legend.position = “none”) + theme(axis.text.x = element_text(angle = 45, hjust = 1)) + ylab(“Total Campaign Contributions”) + ggtitle(“Contributions for Democratic Presidential Candidates”)

Polls

The next variable under measure are the polls, and these polls were taken yesterday, May 14. Joe Biden, Elizabeth Warren, and Bernie Sanders are top in the polls, and all have served as Senators and a VP. Joe Biden also served as Vice President to the last more typical presidency to the current situation. The added comfort involved with his candidacy has also definitely boosted his approval rating in polls. With previous political experience, at least compared to Andrew Yang, founder of Venture for America or even Marianne Williamson who isn’t even listed, it makes sense that people have the most confidence in these candidates.

Graph for approval rating of candidates ggplot(data = polls, aes(x=Candidate, y = Approval, fill = lightblue)) + geom_col() + theme_minimal()+ theme(legend.position = “none”)+ theme(axis.text.x = element_text(angle = 45, hjust = 1)) + ggtitle(“Approval Rating of Presidential Candidates”) + theme(plot.title = element_text(hjust = 0.5))

Money - Approval Rating Correlation

Now that it is apparent who has raised the most money until now, and who this week’s polls point to, the graph below shows the trend involved with money and polling. While the graph doesn’t display the strongest correlation, especially currently since it’s still so early in the campaign process, the correlation still measures at 0.100413. Within the graph itself, Bernie Sanders has ample funding and is high up within the polls, so he lies most strongly within the correlation.

Graph comparing money raised and approval rating of candidates contributions_polls <- merge(total_contributions, polls, by=(“Candidate”)) contributions_polls\(Start_Date = NULL contributions_polls\)End_Date = NULL ggplot(contributions_polls, aes(Total_Contributions_Earning, Approval)) + geom_point(aes(color=Candidate)) + theme_minimal() + ylab(“Approval”) + xlab(“Money Raised”) + ggtitle(“Money Raised v. Approval Rating”) + theme(plot.title = element_text(hjust = 0.5))

Social Media (Twitter) Presence

The next part of this process of candidate success is also observing social media presence. The graph below pertains to who has the most followers on Twitter right now. Many of these candidates with lots of followers, particularly Bernie Sanders, Cory Booker, and Joe Biden have had previous follower bases from their past positions. One that is particularly impressive is Marianne Williamson, who served as an inspirational speaker before beginning her campaign, and therefore has name recognition.

Followers on Twitter for each presidential candidate ggplot(followers, aes(Candidate, Twitter_Followers, fill=blue)) + geom_col() + ylab(“Followers”) + ggtitle(“Followers on Twitter”) + theme_minimal()+ theme(legend.position = “none”) + theme(axis.text.x = element_text(angle = 45, hjust = 1)) + theme(plot.title = element_text(hjust = 0.5))

Money raised against Twitter followers

The next trend is money raised by candidates versus their Twitter following. This has a stronger correlation at 0.2165795. Part of this may be due to more money is more staff and more people to run social media and make graphics. Social media is also free, meaning that it doesn’t cost money but a bigger team can do more with it. Andrew Yang, for example, doesn’t have as much money raised (nearly as much) as Bernie Sanders, yet, he has ample Twitter followers.

A graph comparing money raised by candidates compared to their Twitter followers contributions_followers <- merge(total_contributions, followers, by=(“Candidate”)) contributions_followers\(Start_Date = NULL contributions_followers\)End_Date = NULL ggplot(contributions_followers, aes(Total_Contributions_Earning, Twitter_Followers)) + geom_point(aes(color = Candidate)) + theme_minimal() + ylab(“Twitter Followers”) + xlab(“Money Rasied”) + ggtitle(“Money Raised v. Twitter Followers”) + theme(plot.title = element_text(hjust = 0.5))

Individual candidate Twitter likes

Now that the basic Twitter profile of each candidate has been surveyed, their fanbase loyalty, or amount of current likes on posts will be put to the test. Below are Marianne Williamson’s Twitter likes since the start of May. The post with the most likes within her opinions towards the new head of Department of Defense, Patrick Shanahan. She brings up questions about his special interest and qualifications. This also shows that although she has a fanbase, they may not be active. She gets less than 1k likes on most recent tweets.

Marianne Williamson’s likes on Tweets Williamson’s Most Liked Tweet mw_plot + geom_text(x = (as.numeric(mw_favorite$created_at[25])), y = 1500, label = “Department of Defense”)

A very common extremely popular Tweet for candidates was the appointment of the new Attorney General, Barr. Elizabeth Warren was just one of many to call him out for suppressing the findings of the Mueller report, which exposed Trump in a negative way as a president. As a dramatic political event, it’s important that presidential candidates address their viewpoints so that voters can see whether or not they agree.

Elizabeth Warren’s likes on Tweets

Elizabeth Warren’s likes on Tweets

Elizabeth Warren’s most liked tweet ew_plot + geom_text(x = (as.numeric(ew_favorite$created_at[95])), y = 100000, label = “AG Barr”) <- Coding continues as the same for each candidate after.

Along the same lines as Elizabeth Warren, Seth Moulton went ahead and compared Elliott Richardson to William Barr the new Attorney General, also taking a firm side against him. Again, the very politically charged and poignant Tweets get the most fanbase traction, especially with a newly appointment AG.

Seth Moultons Recent Likes on Tweets

Seth Moultons Recent Likes on Tweets

Seth Moulton’s most liked Tweet

Seth Moulton’s most liked Tweet

Kamala Harris was the third candidate to tweet and receive the most likes as of recently about her opinions towards AG Barr. She is blunt and literally says that he should resign now. This proves that her fanbase is looking for honesty and a politician that doesn’t sugarcoat things. Compared to other posts, they are also relatively active, but nothing nearly as huge as this post. Kamala Harris’ likes on recent tweets

Kamala Harris’ most liked tweet

Kamala Harris’ most liked tweet

Kristen Gillibrand was the fourth candidate to have the highest number of recent likes on her tweet calling AG Barr to resign. This was also in a period of getting 1k likes max, where almost 25k of her followers liked this post. This shows once again the power of being opinionated especially after a big appointment. She has a strong social media presence as a Senator, but definitely not as strong as some of the bigger candidates. Kristen Gillibrand’s likes on recent tweets

Kristen Gillibrand’s most liked tweet

Kristen Gillibrand’s most liked tweet

Eric Swalwell called Donald Trump out on his most liked Tweet, proving once again that people liked politically charged Tweets.

Eric Swalwell’s likes on recent tweets

Eric Swalwell’s likes on recent tweets

Eric Swalwell’s most liked tweet

Eric Swalwell’s most liked tweet

Tim Ryan tweeted about workers losing their job and as a Democratic candidate took the side of middle-class America. Siding with millions of struggling Americans is bound to also get him more traction and more likes on his tweet. The attached video is him speaking in Congress, and this is also a pinned Tweet on his profile, making it extremely popular. This tweet alone gained a ton of traction in the midst of very few likes. Tim Ryan also doesn’t get the same quantity of likes as some other candidates with previous positions or fame, but still reaps hundreds of likes from followers.

Tim Ryan’s most recent tweets and likes

Tim Ryan’s most recent tweets and likes

Tim Ryan’s most liked tweet

Tim Ryan’s most liked tweet

Wayne Messam took a firm stance against Florida legislation for allowing guns in classrooms by backing up Robert Runcie’s decision against them. Gun control is also a very big issue right now with prevalent school shootings, so with fiery topics, candidates are getting the most likes. Wayne Messam is also getting 35 likes as a high amount, so it’s not even in the same league as other candidates. Wayne Messams recent tweets and likes

Wayne Messam’s most liked tweeet

Wayne Messam’s most liked tweeet

While many candidates have taken a stance against, Jay Inslee’s most liked Tweet recently was about Pence calling him out on his hypocrisy. One function of the media is to serve as a watchdog on politicians, and in this case it’s other politicians. Twitter users, according to these Tweets, appreciate politicians running for office who can call out others on what’s right and wrong. They are looking for transparency and reassurance. Jay Inslee also got an enormous amount of likes on this post compared to others, showing that his fanbase isn’t very active. Jay Inslee’s recent tweets and likes

Jay Inslee’s recent most liked tweet

Jay Inslee’s recent most liked tweet

Tulsi Gabbard’s most liked recent Tweet was a campaign video against war, which I found very interesting. She chose a prominent theme in today’s society and in many ways called out Trump for his foreign policy. It wasn’t surprising that it got many likes because it was a well-made video. Her followers also do tend to be pretty active, despite having less than other candidates. This shows her traction and her more loyal fanbase.

Tulsi Gabbards most recent likes on tweets

Tulsi Gabbards most recent likes on tweets

Tulsi Gabbard’s most liked tweet

Tulsi Gabbard’s most liked tweet

In two of Delaney’s most liked recent Tweets he calls Trump out. The first is with foreign corruption, and the second it with business losses in his federal income-tax returns. Both of them serve as a way to expose the president, also revealing that Delaney wants to be transparent, honest, and trustworthy. He still has very few followers + likes, but it does show a more loyal, although small fanbase.

John Delaney’s recent likes on tweets

John Delaney’s recent likes on tweets

Delaney’s first most liked tweet

Delaney’s first most liked tweet

John Delaney’s second most liked tweet

John Delaney’s second most liked tweet

Julian Castro actually thanked another candidate running in his most recent and most liked post. Elizabeth Warren gave him a shout out about immigration and as a Senator, he praised her for her policies. I thought it was interesting their mutual endorsement and that people tend to like candidates that show admiration to others. Castro also had a few others spikes in likes on other posts, showing his more loyal fanbase.

Julian Castros likes on recent tweets

Julian Castros likes on recent tweets

Julian Castro’s most liked tweet

Julian Castro’s most liked tweet

Mayor Pete received the highest amounts of likes recently when talking about his meeting with President Carter and how much it humbled him, and siding with women when talking about women’s healthcare issues. Both of these posts garnered a population of older voters who probably voted Carter into office, and after seeing Mayor Pete meet with him, begin to pay more attention to him. Also, there are EXTREMELY few male female healthcare advocates, so posting on Twitter about women’s rights is a gigantic topic. Overall, Mayor Pete has been on the cover of time magazine, and has gained lots of traction from his sexual identity as a veteran. It isn’t a surprise that he has a well-developed social media presence.

Likes on Pete Buttigieg’s recent tweets

Likes on Pete Buttigieg’s recent tweets

Buttigieg’s first recent most liked tweet

Buttigieg’s first recent most liked tweet

Buttigieg’s second recent most liked post

Buttigieg’s second recent most liked post

Cory Booker, New Jersey Senator called out John Kelley for his recent joining of the Caliburn International Board after serving as White House Chief of Staff. Yet one more reason why people appreciate transparency in Tweets. With his position already in politics, Booker already has fanbase participation in his tweets as well.

Likes on Cory Booker’s Recent tweets

Likes on Cory Booker’s Recent tweets

Cory Booker’s most liked tweet

Cory Booker’s most liked tweet

With a platform dedicated to socialism, Bernie Sanders is all about combatting capitalism inequalities. After running for president in 2016, he also has an extremely loyal fanbase and he’s a front runner in polls. Despite his old age, Sanders is definitely in the running and his social media with 50K likes on this post reflects that too.

Likes on Bernie Sander’s most recent tweets

Likes on Bernie Sander’s most recent tweets

Bernie Sander’s most liked tweet

Bernie Sander’s most liked tweet

Amy Klobuchar’s most liked Tweets advocate for Hillary Clinton as the 2016 presidential candidate, urging Americans to move forward and not stand with Russia. Along with that, a day later she received ample likes for posting about AG Barr being shady about the findings within the Mueller report. Once again, Klobuchar already serves a position of office and is advocating for other Democrats, along with the faults of Republicans in office. Her fanbase is also relatively large, slightly active, and more active since these posts.

Likes on Amy Klobuchar’s Recent tweets

Likes on Amy Klobuchar’s Recent tweets

Amy Klobuchar’s first most liked recent tweet

Amy Klobuchar’s first most liked recent tweet

Amy Klobuchar’s second most liked recent tweet

Amy Klobuchar’s second most liked recent tweet

Andrew Yang’s platform is largely focused on a higher average minimum wage, and a post this simple is also so relatable and so it’s no wonder he has received so many likes. It’s something that has been retweete thousands of times, and has created a moment for people to share it with their friends. Finally, a candidate who understands the high prices of today and wants to help people in the fight. Yang’s social media is also extremely active – despite not having the highest ratings in polls, he has excelled in likes and a loyal fanbase.

Likes on Andrew Yang’s most recent tweets

Likes on Andrew Yang’s most recent tweets

Andrew Yang’s most liked recent tweet

Andrew Yang’s most liked recent tweet

For Joe’s most liked recent tweet, he backs up labor unions and the middle working class. This kind of support is extremely necessary for polling. Joe also has the Vice Presidency social media following under his belt making his Twitter very strong.

Likes on Joe Biden’s most recent tweets

Likes on Joe Biden’s most recent tweets

Joe Biden’s most liked recent tweet

Joe Biden’s most liked recent tweet

Conclusion

To conclude, yes money helps a campaign, and yes social media presence is important to get a name out there, but there was not an automatic correlation associated with the two. There are other variables that are equally important when it comes to measuring a candidate’s approval rating. For example, race and ethnic diversity, gender diversity, as well as previous positions held have a major impact. For example, Joe Biden is an extremely popular candidate because he served as Vice President. Bernie Sanders also has been through an entire presidential campaign and therefore has the following already. And then on the more business savvy/celebrity side of things, Andrew Yang is the founder of an entire company, and Marianne Williamson has been a widely followed inspirational speaker. This isn’t even considering Pete Buttigieg who serves as mayor of his small town or Cory Booker who’s a NJ senator. While there definitely is evidence to say that money helps with social media, or approval rating, it’s the candidates themselves and their beliefs at the end of the day. This is seen first-hand when analyzing their most liked tweets. Candidates that are firm on their beliefs and dedicated to trust and transparency are cherished amongst their fanbases. This data also only covers the “now” and any of this could change with a scandal, people just losing popularity and fading out, or even a boost in popularity. For the now, trust in expertise and transparency is winning in the polls, and we will see as the campaign process continues.