Access the item metadata from an Internet Archive item
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
ats_query <- c("publisher" = "american tract society")
ids <- ia_search(ats_query, num_results = 3)
#> 1491 total items found. This query requested 3 results.
items <- ia_get_items(ids)
#> Getting ldpd_10998157_000
#> Getting ldpd_6972210_000
#> Getting historyofworko00edwa
metadata <- ia_metadata(items)
#> Warning: `data_frame()` was deprecated in tibble 1.1.0.
#> ℹ Please use `tibble()` instead.
#> ℹ The deprecated feature was likely used in the internetarchive package.
#> Please report the issue at
#> <https://github.com/ropensci/internetarchive/issues>.
metadata
#> # A tibble: 102 × 3
#> id field value
#> <chr> <chr> <chr>
#> 1 ldpd_10998157_000 identifier ldpd_10998157_000
#> 2 ldpd_10998157_000 mediatype texts
#> 3 ldpd_10998157_000 collection1 columbiamrlpamphlets
#> 4 ldpd_10998157_000 collection2 ColumbiaUniversityLibraries
#> 5 ldpd_10998157_000 collection3 americana
#> 6 ldpd_10998157_000 contributor Columbia University Libraries
#> 7 ldpd_10998157_000 scanner Internet Archive HTML5 Uploader 1.6.0
#> 8 ldpd_10998157_000 title Conversion of Rama Chundra : a Hindoo native p…
#> 9 ldpd_10998157_000 publicdate 2015-01-14 20:52:02
#> 10 ldpd_10998157_000 addeddate 2015-01-14 20:52:02
#> # ℹ 92 more rows
