Download and check XML sitemaps using R'
Install xsitemap R’ Package (to be done once) and Load
# Installing libraries and Loading libraries
install.packages("devtools")
library(devtools)
install_github("pixgarden/xsitemap")
library(xsitemap)
Find and fetch XML sitemaps
xsitemap_urls <- xsitemapGet("https://www.nationalarchives.gov.uk/")
Check URLs HTTP code

Count HTTP codes

Plot the years the pages were added



Last updated