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().

ia_retrieve(identifier)

Arguments

identifier

an identifier string obtained via ia_scrape().

Value

data frame of files and links with some metadata

Examples

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]))