Skip to content

Calculation of monthly core metrics related to reading activity

Notifications You must be signed in to change notification settings

wikimedia-research/Readers-core-metrics

Repository files navigation

Readers-core-metrics

This repo contains all the code needed to calculate the monthly Wikimedia movement metrics related to reading activity including page interactions (pageviews and seen previews) and unique devices. Dependencies include:

File Overview

  • Files in the queries directory includes the queries used for fetching the data.
  • Files in the figures directory includes the graphs produced during the analysis
  • 01_interactions_metrics.ipynb contains the analysis for calculating monthly interactions (pageviews and seen previews).
  • 02-unique_devices.ipynb contains the analysis for calculating the total unique devices each month.
  • 03_diversity_metrics.ipynb contains the analysis for calculating interactions for identified global south wikis and mobile-heavy wikis.

Usage

  1. Clone this onto one of the SWAP hosts.
  2. Run the notebook 01_interactions_metrics.ipynb to caluclate overall monthly interactios (pageviews and seen previews)
  3. Run the notebook ``02-unique_devices.ipynb` to calculate total unqiue devices each month.
  4. Run the notebook 03_diversity_metrics.ipynb to calculate interactions for identified global south wikis and mobile-heavy wikis.
  5. Do any other analysis needed to understand major trends.

Data Definitions

Current definitions of these core metrics are documented in the Wikimedia Audience Data Dictionary page.

About

Calculation of monthly core metrics related to reading activity

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published