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)
#> 1494 total items found. This query requested 3 results.
items <- ia_get_items(ids)
#> Getting iinviteyoubyjcry00ryle
#> Getting hymnsforsocialwo00amer
#> Getting americantractma03socigoog
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: 132 × 3
#> id field value
#> <chr> <chr> <chr>
#> 1 iinviteyoubyjcry00ryle language eng
#> 2 iinviteyoubyjcry00ryle scanningcenter harrisburg
#> 3 iinviteyoubyjcry00ryle sponsor This project is made possible by a gra…
#> 4 iinviteyoubyjcry00ryle contributor State Library of Pennsylvania
#> 5 iinviteyoubyjcry00ryle subject Christian life
#> 6 iinviteyoubyjcry00ryle title I invite you! / by J.C. Ryle
#> 7 iinviteyoubyjcry00ryle creator Ryle, J. C. (John Charles), 1816-1900
#> 8 iinviteyoubyjcry00ryle collection1 statelibrarypennsylvania
#> 9 iinviteyoubyjcry00ryle collection2 americana
#> 10 iinviteyoubyjcry00ryle shiptracking ST007941
#> # ℹ 122 more rows
