Learn R Programming

europeanaR (version 0.1.0)

tidy_search_items: Tidy search API response

Description

Transforms API response to a tidy `data.table` for easier manipulation

Usage

tidy_search_items(resp)

Arguments

resp

an S3 object of type `europeana_search_api`

Value

`data.table` with stacked results collected from the search api. Each row corresponds to a Cultural Heritage Object.

Examples

Run this code
# NOT RUN {
#set your API key with set_key(api_key = "XXXX")
resp <- query_search_api("arioch")
tidy_search_items(resp)
# }

Run the code above in your browser using DataLab