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)
#> 1482 total items found. This query requested 3 results.
items <- ia_get_items(ids)
#> Getting socialreligiousl00basm
#> Getting rightwayorgospel00coll
#> Getting 101214593.nlm.nih.gov
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: 133 × 3
#> id field value
#> <chr> <chr> <chr>
#> 1 socialreligiousl00basm language eng
#> 2 socialreligiousl00basm scanningcenter capitolhill
#> 3 socialreligiousl00basm sponsor The Library of Congress
#> 4 socialreligiousl00basm contributor The Library of Congress
#> 5 socialreligiousl00basm date 1890
#> 6 socialreligiousl00basm subject1 Missions
#> 7 socialreligiousl00basm subject2 Missions -- Armenia
#> 8 socialreligiousl00basm subject3 Armenia
#> 9 socialreligiousl00basm subject4 Turkey -- Social life and customs
#> 10 socialreligiousl00basm title Social and religious life in the Orien…
#> # ℹ 123 more rows
