Query Web Archive Crawl Indexes ('CDX')
Methods are provided to retrieve web archive crawl index ('CDX') metadata and directly query the 'CDX' 'API' endpoint to retrieve mementos for a given set of parameters.
The following functions are implemented:
cdx_query
: Query a CDX index endpointfetch_collections_index
: Fetch collections indexdevtools::install_github("hrbrmstr/cdx")
options(width=120)
library(cdx) library(tidyverse) # current verison packageVersion("cdx")
cidx <- fetch_collections_index() rprj <- cdx_query(cidx$cdx_api[1], "*.r-project.org") rprj
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.