tidy_search_items {europeanaR}R 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)



[Package europeanaR version 0.1.0 Index]