How did covid impact people's interest in different philosophical topics?

This stroy will explore the changes in wikipedia searches relating to beliefs, such as philosophy and religion, to give us a better understanding of how this global crisis has impacted our society

Home
Example

Motivation and goal:

Covid 19 being the first global modern day pandemic, it has influenced our society in many ways since it started 4 years ago. Causing many deaths and forcing our society to impose heavy restrictions, we wanted to observe if it had any effects on beliefs, such as philosophy and religion.

We will observe any changes in beliefs mainly by looking at the changes in views for relevant subjects.

Research questions:

  1. Do Wikipedia’s philosophy and religion page views provide insights into how individuals perceive life amid the unprecedented social conditions of COVID-19?

  2. How do these perceptions vary across countries, and do cultural differences in main cultural philosophical currents influence philosophical and religious shifts?

  3. Can we identify groups of cultures exhibiting similar philosophical and religious reactions to the changes induced by COVID-19?

Dataset description:

We use an API to retrieve the views from the philosophy pages. The name of the philosophies are taken from the english page list of philosophy. Then we get the url for each english philosophy for all languages and construct our dataframes. We use the daily granularity to have enought data points for short period of time, in particular between the first case and the lockdown. When we have the dataframe for all languages, we keep only the philosophy pages that exist in all target languages to have a more uniform comparison.

In examining philosophical themes’ attention shifts on Wikipedia during the COVID era, it became evident that the overall trends in philosophical topics mirrored the broader global trends. Consequently, delving into specific movements within philosophical ideas or clusters proved more compelling than focusing on philosophy’s general trends as a whole.

Part 1: Looking at how people interests across philosophical topics behave during Covid 19 period.

To analize different trends within the views of the different english wikipedia pages, we have formulated 5 broader philosophical topics based on information obtained from Wikipedia pages, supplemented by insights from ChatGPT, to group similar topics together.

On the pie chart above, we can see how total page logs are distributed across our constructed broader philosophy topics, political and religious related ideas are obviously a large chunk of total views while we see that more theoritical philosophy current are less represented.

To begin the analysis, we will gather aggregated time series data across five relevant periods: the period before COVID (prior to the first case), the period from the first case to the start of lockdown measures, the period during lockdown, and the period after COVID. By adding up the page view values for each philosophy page within each broader topic, we can create time series plots to identify any intriguing trends. One unique observation is for religion. It is the only topic not experiencing a significant decrease in interest during the Christmas period! This observation is not entirely surprising.

Now let’s investigate what’s happening at crucial covid-19 dates (delimited by vertical dashed lines).

First covid case date (red line):

We could expect a rise in pageviews due to an initial period of uncertainity and information seeking. However, this chart doesn’t show a clear spike in pageviews around this time, which could suggest that the initial spread of COVID-19 may not have immediately influenced interest in philosophical topics, due it it being slow, far away, or deemed unimportant, for example.

Lockdown Date (blue line):

The lockdown period is typically associated with people having more time at home, potentially leading to increased internet usage. In this case, we can see that some topics like Metaphysics and Political Thought show a marked increase in pageviews shortly after the lockdown begins. This may indicate that during periods of enforced isolation, either people had more time to engage with complex subjects, or sought philosophical perspectives to make sense of the societal changes occurring around them or both.

Back to Normalcy Date (green line):

As restrictions ease and a sense of normalcy returns, we could expect the interest in philosophical topics to decrease as people return to their regular activities. However, the chart shows that for some topics like Political Thought and classical philosophy, the interest remains steady, even rising after the return to normalcy, which might suggest that the pandemic had a lasting impact on people’s engagement with these subjects. It’s important to consider that these interpretations are speculative, and the actual reasons behind the changes in pageviews could have multiple sources.

We will now try to look at the following correlation heatmaps that displays correlation between time series of page views for every topic on every period considered to hopefully understand better dynamics between topics.

Before COVID-19:

First Case to Lockdown:

During Lockdown:

After Lockdown:

Having looked at data in a somewhat qualitative manner, we will now try to dive into some more rigorous and causal approach for digging further into this question with the next part of our data story where we will adopt a more statistical rigorous approach.

Part 2 : Variation of trends for philosophical pages in English

The goal is to retrieve the trend and see if the timepoints linked to Covid-19 have a significant impact on this trend.

The Data preprocessing :

The study now is made on the dataframe containing the pageviews for all philosophy in english. The granularity of the views are daily and it can be seen on this graph for example, that it makes a lot of noise, so the data is converted to have weekly points. As shown here, the noise is less visible.

views per day

views per week

Another preprocessing step is the selection of significant philosophies. Indeed, the disparity of number of logs per page is very large. Although it has already been filtered by using only pages that exist in all the target languages, this disparity might impact the relevance of the study. To prevent that, a threshold of 10% of the most viewed page is taken, and only pages above are kept for the rest of the analysis. This leaves us with 68 philosophies.

The study of this trend can not be done directly on this raw data of pageviews. Indeed, the potential change in interest for a certain philosophy is only interesting if it is caused by the particular situation of the pandemic, and not an unrelated variation of interest. To mitigate this issue, the seasonality of the interest is separated from the trend. Thus the usual variations that occur over the year for a certain page are not supposed to impact our analysis.

Using the principle of interrupted time series, the trend was segmented into 3 time periods. Before Covid-19, during and after, these periods were separated by two timepoints : February 16th 2020 and June 21st 2021. These dates were chosen to match the average dates of the first case and end return to normalcy. This part of the study uses linear regression, so the dates inside the Covid period were not selected because it gave segments that were too short to properly study. On each segment, a linear regression was made. Here is an example with the Metaphysics page, that had a significant change at t0 but not t1.

What can be observed is that even if the slope is not changed significantly, sometimes there is a big difference in the baseline, i.e. in the intercept and that is why we also study it. This phenomenon can be seen in the example with Marxism, at t0.

These plots display the variations in the slope of the trend and in the intercept. In other words, it shows the difference between what was predicted from the previous tendency and what actually occurred. It allows us to have a better view over significant changes for the philosophies, and choose more accurately which groups to look at. Now let’s look at these graphs precisely and more closely to the meaning of these philosophical currents.

Part 3: Looking at how languages dynamics across philosophical articles behave during Covid 19 period.

Now, we want to observe how the dynamics of the consultation of the philosophy related pages evolved before, during and after Covid across different languages. In other words, we analyze how the consumption of wikipedia philosophy related pages is different across languages. The first thing that we can take a look at is the total views of philosophy pages in each language in log scale to reduce discrepancies between languages. We just want to take a look at the trend.