ia_retrieve: Retrieve directory listings for Internet Archive objects by...

Description Usage Arguments Value Examples

View source: R/ia-retrieve.R

Description

Given an object identifier (obtained via ia_scrape()), retrieve the directory listing for the item. The link column will have URLs that can be retrieved with download.file().

Usage

1
ia_retrieve(identifier)

Arguments

identifier

an identifier string obtained via ia_scrape().

Value

data frame of files and links with some metadata

Examples

1
2
3
4
nasa <- ia_scrape("collection:nasa", count=100L)
item <- ia_retrieve(nasa$identifier[1])
td <- tempdir()
download.file(item$link[1], file.path(td, item$file[1]))

hrbrmstr/wayback documentation built on May 17, 2019, 5:53 p.m.