Volume 53 - Article 22 | Pages 661–704  

Online obituaries as a complementary source of data for mortality in Canada

By Pietro Violo, Nadine Ouellette

Abstract

Background: Obituaries and death notices have existed for centuries as a form of commemoration, particularly in Western countries. With the rise of the internet, these records have become more accessible, presenting a valuable, largely untapped source for mortality research.

Objective: We aim to collect online obituaries through web scraping and evaluate their representa-tiveness, advantages, and limitations for use in mortality studies in Canada’s two largest provinces: Quebec and Ontario.

Methods: We web scraped 236,290 and 288,623 obituaries for Quebec and Ontario, respectively, spanning the years 2017 to 2022. Using regular expressions, a formal language for defining text-search patterns, we derived demographic variables from the text to compute mortality measures, which we then compared to a gold-standard vital statistics dataset.

Results: Although obituaries in Quebec and Ontario respectively account for only half and one-third of all recorded deaths, the age and gender distributions they capture closely align with those of the general population. Infant deaths remain notably underrepresented. Life expectancy estimates derived from obituaries exceed official figures by 0.4 years for women and 0.5 for men, while the modal age at death is slightly underestimated. Despite these limitations, the timeliness and demographic representativeness of online obituaries make them a valuable supplement to conventional mortality datasets in Canada.

Contribution: This study draws attention to an underused data source by leveraging Canada’s bilingual context and developing methods for extracting demographic information from both French and English obituaries. We contribute to digital and computational demography by detailing techniques for web scraping, data cleaning, extraction, and validation, and by assessing coverage, age structures, gender disparities, and inherent biases in this type of textual data.

Author’s Affiliation

Other articles by the same author/authors in Demographic Research

The question of the human mortality plateau: Contrasting insights by longevity pioneers
Volume 48 - Article 11

Insight on 'typical' longevity: An analysis of the modal lifespan by leading causes of death in Canada
Volume 35 - Article 17

Changes in the age-at-death distribution in four low mortality countries: A nonparametric approach
Volume 25 - Article 19

Most recent similar articles in Demographic Research

The impact of population heterogeneity on the age trajectory of neonatal mortality: A study of US births 2008–2014
Volume 53 - Article 7    | Keywords: frailty, heterogeneity, heterogeneity, infant mortality, mortality, mortality selection, mortality selection, neonatal mortality, United States of America

Trends in Indigenous fertility in Canada, 2001–2021
Volume 53 - Article 6    | Keywords: Canada, fertility decline, indigenous, low fertility

Can we estimate crisis death tolls by subtracting total population estimates? A critical review and appraisal
Volume 52 - Article 23    | Keywords: conflict demography, death tolls, demographic methods, historical demography, mortality, mortality crises, mortality estimates, population balance

The use of mobile phone surveys for rapid mortality monitoring: A national study in Burkina Faso
Volume 52 - Article 16    | Keywords: age-specific mortality patterns, data quality, Demographic Health Surveys, direct estimation, health and security crises, low-and-middle-income countries, mobile phones, mortality, sample selection, surveys, under-five mortality

Studying individuals in same-sex couples using longitudinal administrative data from Canadian tax records: Opportunities and challenges
Volume 52 - Article 2    | Keywords: administrative data, Canada, Longitudinal Administrative Databank, same-sex couples, sexual orientation, sexual orientation earnings gap, tax data