| eu_records | R Documentation |
Get Europeana records
eu_records(ids, profile = NULL, hierarchy = NULL,
key = getOption("eu_key"), ...)
ids |
(character) Record ids |
profile |
(character) Profile parameter controls the format and richness of the response. One of full, similar, params. |
hierarchy |
(character) One of 'self', 'parent', 'children', 'preceding-siblings', 'following-siblings', or 'ancestor-self-siblings' |
key |
(character) API key for Europeana |
... |
Curl options passed on to |
## Not run:
eu_records('91916/C389BE4E26EC03D11E27C2F5D9CA209FD18D51EE')
eu_records('2020903/KMSB_37_106_7')
ids <- c('2020903/KMSB_37_106_7', '92099/BibliographicResource_2000081662431')
eu_records(ids)
# profile param
id <- '91916/C389BE4E26EC03D11E27C2F5D9CA209FD18D51EE'
eu_records(id, profile = "full")
eu_records(id, profile = "similar")
eu_records(id, profile = "params")
# should work even with ids that don't exist
eu_records(c('2020903/KMSB_37_106_7', 'notanid'))
# hierarchy
eu_records(ids = '9200300/BibliographicResource_3000116310788', hierarchy = "parent")
ids <- c('9200300/BibliographicResource_3000116310788',
'9200300/BibliographicResource_3000116311348')
eu_records(ids, hierarchy = "parent")
eu_records(ids, hierarchy = "children")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.