--- title: "Case study: measuring an internal-linking intervention" author: "Bart Turczynski" date: "`r Sys.Date()`" output: rmarkdown::html_vignette: toc: true vignette: > %\VignetteIndexEntry{Case study: measuring an internal-linking intervention} %\VignetteEngine{knitr::rmarkdown} %\VignetteEncoding{UTF-8} --- ```{r setup, include = FALSE} knitr::opts_chunk$set( collapse = TRUE, comment = "#>" ) library(pagerankr) ``` ## Diagnose, model, ship, re-measure Most link-graph analysis stops at the diagnosis. This vignette runs the whole loop on one small site: a problem was found in a crawl, a fix was modeled, the fix shipped, and the site was crawled again. Both crawls ship with the package, so every number below is computed as you read it rather than quoted from a report. The site is a 67-page reviews microsite. The diagnosis was that four sitewide in-content links — methodology and disclosure bylines repeated under every article — were hoarding editorial authority and returning none of it. The fix had two parts: move those bylines into a semantic `