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)
#> 1476 total items found. This query requested 3 results.
items <- ia_get_items(ids)
#> Getting jessiesworkorfa00shipgoog
#> Getting masterpreacherst0000albe
#> Getting metaphorsofstpau0000hows_o8u3
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: 137 × 3
#> id field value
#> <chr> <chr> <chr>
#> 1 jessiesworkorfa00shipgoog publisher American Tract Society ,…
#> 2 jessiesworkorfa00shipgoog identifier jessiesworkorfa00shipgoog
#> 3 jessiesworkorfa00shipgoog scanner google
#> 4 jessiesworkorfa00shipgoog title Jessie's work; or, Faith…
#> 5 jessiesworkorfa00shipgoog creator Mary Elizabeth Shipley
#> 6 jessiesworkorfa00shipgoog mediatype texts
#> 7 jessiesworkorfa00shipgoog collection europeanlibraries
#> 8 jessiesworkorfa00shipgoog possible-copyright-status NOT_IN_COPYRIGHT
#> 9 jessiesworkorfa00shipgoog year 1873
#> 10 jessiesworkorfa00shipgoog date 1873
#> # ℹ 127 more rows