archive_overview: archive_overview: Getting a first glimpse of mementos...

View source: R/archive_overview.R

archive_overviewR Documentation

archive_overview: Getting a first glimpse of mementos available in the Internet Archive

Description

archive_overview provides an overview of available mementos of the homepage from the Internet Archive

Usage

archive_overview(homepage, startDate, endDate)

Arguments

homepage

A character vector of the homepage, including the top-level-domain

startDate

A character vector of the starting date of the overview. Accepts a large variety of date formats (see anytime)

endDate

A character vector of the ending date of the overview. Accepts a large variety of date formats (see anytime)

Value

This function provides an overview of mementos available from the Internet Archive. It returns a calendar indicating all dates in which mementos of the homepage have been stored in the Internet Archive at least once. However, a memento being stored in the Internet Archive does not guarantee that the information from the homepage can be actually scraped. As the Internet Archive is an internet resource, it is always possible that a request fails due to connectivity problems. One easy and obvious solution is to re-try the function.

Examples

## Not run: 
archive_overview(homepage = "www.spiegel.de", startDate = "20180601", endDate = "20190615")
archive_overview(homepage = "nytimes.com", startDate = "2018-06-01", endDate = "2019-05-01")

## End(Not run)

archiveRetriever documentation built on June 22, 2024, 10:54 a.m.