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)
#> 1541 total items found. This query requested 3 results.
items <- ia_get_items(ids)
#> Getting onthisrock0000revr
#> Getting causecureofinfid00nels_0
#> Getting childshymnbook00caul
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: 144 × 3
#> id field value
#> <chr> <chr> <chr>
#> 1 onthisrock0000revr identifier onthisrock0000revr
#> 2 onthisrock0000revr boxid IA41778722
#> 3 onthisrock0000revr camera USB PTP Class Camera
#> 4 onthisrock0000revr col_number COL-4025
#> 5 onthisrock0000revr collection1 internetarchivebooks
#> 6 onthisrock0000revr collection2 printdisabled
#> 7 onthisrock0000revr collection3 inlibrary
#> 8 onthisrock0000revr contributor Internet Archive
#> 9 onthisrock0000revr creator Rev. Ralph Beryl Nesbitt, D.D.
#> 10 onthisrock0000revr date 1962
#> # ℹ 134 more rows
