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)
#> 1452 total items found. This query requested 3 results.
items <- ia_get_items(ids)
#> Getting crossincellconv00unkngoog
#> Getting memoirofnathanwd0000abbo
#> Getting gloryofmangerstu0000samu
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: 136 × 3
#> id field value
#> <chr> <chr> <chr>
#> 1 crossincellconv00unkngoog google-id 3dgTAAAAYAAJ
#> 2 crossincellconv00unkngoog identifier crossincellconv00unkngoog
#> 3 crossincellconv00unkngoog scanner google
#> 4 crossincellconv00unkngoog title The cross in the cell: c…
#> 5 crossincellconv00unkngoog source http://books.google.com/…
#> 6 crossincellconv00unkngoog publisher American Tract Society, …
#> 7 crossincellconv00unkngoog mediatype texts
#> 8 crossincellconv00unkngoog collection americana
#> 9 crossincellconv00unkngoog possible-copyright-status NOT_IN_COPYRIGHT
#> 10 crossincellconv00unkngoog identifier-access http://www.archive.org/d…
#> # ℹ 126 more rows