tidy_search_items: Tidy search API response

View source: R/tidy_search_items.R

tidy_search_itemsR Documentation

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



#set your API key with set_key(api_key = "XXXX")
resp <- query_search_api("arioch")
tidy_search_items(resp)



AleKoure/europeanaR documentation built on June 11, 2022, 4:29 p.m.