View source: R/query_record_api.R
query_record_api | R Documentation |
The Record API provides direct access to the Europeana data, which is modeled using the Europeana Data Model (EDM). While EDM is an open flexible data model featuring various kind of resources and relations between them, the Record API (and the Europeana Collections Portal) supports the retrieval of a segment of EDM for practical purposes.
These "atomic" EDM segments typically contain one Cultural Heritage Object (CHO), aggregation information that connects the metadata and digital representations, and a number of contextual resources related to the CHO, such as agents, locations, concepts, and time.
query_record_api(id, path = "/record/v2", ...)
id |
string with the 'RECORD_ID' in the form of '/DATASET_ID/LOCAL_ID' |
path |
string that indicates version of the API |
... |
other parameters passed as query parameters |
S3 object of class 'europeana_record_api'. Contains the parsed content, the path, and the API response compatible with 'httr' methods.
https://pro.europeana.eu/page/record
doerr2010europeanaeuropeanaR
\insertRefhttreuropeanaR
\insertRefjsonliteeuropeanaR
#set your API key with set_key(api_key = "XXXX") #query search API res <- query_search_api("arioch", qf = "1712", media = TRUE) #get results in tidy format dat <- tidy_search_items(res) #query records API for each item lapply(dat$id, query_record_api)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.