Research by Fenwick McKelvey and Luciano Frizzera
- Mainstream media, particularly The Agenda, are the most recommended channels on YouTube (see Figure 2) suggesting that recommendations function as a tool of news discovery.
- Channels critical of the Liberal government and seemingly right of center (Steeper33 and Poletical) are the only partisan sources in the top 10. Videos from these channels were top recommendations during the pre-writ period
- Videos critical of Kathleen Wynne are top recommendations for both Doug Ford and Kathleen Wynne.
- Top video for most leaders? Doug Ford’s question to Kathleen Wynne, “when did you lose your way?”, from City News Debate.
What videos does YouTube recommend about Ontario party leaders? In the first study of its kind, we have identified the most recommended videos by YouTube for the election period period from May 9 to June 8, 2018. Data was collected through tools developed by Guillaume Chaslot and the Algo Transparency project.
The three interactive graphics allow you to explore YouTube’s recommendations for each of the leaders. Please be patient as the visualizations take time to load.
- Most recommended videos per leader (see Tabs)
- Top channels, or video producers, for all candidates
- Top recommendations per day. This visualization is a little complex. Each line represents a videos as it changes position in the top 10 day by day, but helps you understand the stability of video recommendations over time.
Recommendations were only collected from one computer-based in Montreal. We acknowledge that recommendations may vary depending on user profiles and locations. Future research needs to study these systems from multiple computers. These findings have not been subject to peer review. Research is on-going.
We collected recommendations using a Python script developed by Guillaume Chaslot as part of the Algo Transparency project. The script starts with a search query on YouTube to follow and store the list of recommended videos related to the topic of interest. More specifically, the script 1) gets the [N] first search results, 2) follows the first [M] recommendations, 3) repeats step (2) [P] times, and 4) stores the results in a JSON file.
For this research we collected six relevant terms connected to the 2018 Ontario Elections: two broad terms to get the big picture on the elections (“Ontario Politics” and “Ontario Election”); and four specific terms, which are the names of the main candidates (“Kathleen Wynne”, “Doug Ford”, “Andrea Horwath”, “Mike Schreiner”). The collection was made manually running the script every day between 8 and 10 pm, from May 9 to June 2, 2018. We choose to have a narrow but deep look into the recommendation system. Thus we set the algorithm to follow the first four recommended videos and repeat the operation four times for each searched term. This is analogous of a person searching for a topic on YouTube, opening the first four videos, and sequentially following the first four recommended videos for each one of them, repeating the operation four times in the videos that come out from each new recommendation list.
This algorithm does not rely on YouTube public API. Instead, it simulates the browser environment, loading and scraping HTML elements present at the YouTube search and watch page. This makes the data collection less prone to social bias, such as user profiling using personal preferences, browser history, and cookies. However, it does not remove all the variable that might disturb the recommendation ranking, such as the location, language, the time of the day, and the machine used in this process, as well as other variables not revealed by YouTube.
Each daily search produces a JSON file containing the data for all the six terms. The files are merged into a single dataset, from which new information is derived (e.g., total time a video was recommended during the period), and the data is organized to create a rank flow visualization.
Inspired by Bernhard Rieder’s work, we developed a RankFlow visualization that shows a rank of the most recommended videos per day during the period. Built using D3.js, the visualization displays all videos that reached at least one of the top 5 positions in the rank at any given day of the observed period. The thickness of the line works as a reinforced visual cue for the rank position measure on the vertical axis, and it is set by the best position the video was ranked in the period. By clicking on each line, it is possible to watch the video in context, as well as check the basic metrics (view, likes, dislikes, number of recommendation) per day. Accompanying the graph, there is ranked table listing all videos collected on each searched term.
The rank flow allows the analysis of the evolution of each video in the rank, find trends, and observe what has been recommended. This might give us some insights about how YouTube rank system works, what are the most prominent videos on specific topics, and what narrative this rank bring to the political debate in Canada.
Although there is no legend (yet), each line is colour-coded by the channel that posted the video, which adds another possible dimension to the analysis: Who produces the videos about each searched term? Is there a dominant channel in the period or the video ecology is diverse?