ia_metadata: Access the item metadata from an Internet Archive item

Description Usage Arguments Value Examples

View source: R/ia_metadata.R

Description

Access the item metadata from an Internet Archive item

Usage

1
ia_metadata(items)

Arguments

items

A list object describing an Internet Archive items returned from the API.

Value

A data frame containing the metadata, with columns id for the item identifier, field for the name of the metadata field, and value for the metadata values.

Examples

1
2
3
4
5
ats_query <- c("publisher" = "american tract society")
ids       <- ia_search(ats_query, num_results = 3)
items     <- ia_get_items(ids)
metadata  <- ia_metadata(items)
metadata

ropensci/internetarchive documentation built on May 26, 2020, 6:50 a.m.