eu_providers | R Documentation |
Search Europeana data providers.
eu_providers(providerid = NULL, datasetid = NULL, datasets = FALSE, limit = 10, start = 1, country_code = NULL, key = getOption("eu_key"), ...)
providerid |
Provider ID |
datasetid |
Dataset ID |
datasets |
(logical) Whether to return datasets or not with provider information. Ignored when providerid is NULL (the default for that parameter). |
limit |
(numeric) Size of the result set to fetch. Default: 10 |
start |
(numeric) Record number to start with. Default: 1 |
country_code |
(character) Two-letter ISO 3166-1 country code. Not all countries give data back of course, for example, there is no data for country_code='US'. |
key |
Your Europeana API key. |
... |
Curl options passed on to |
## Not run: eu_providers(limit = 1) eu_providers(limit = 1, start = 3) out <- eu_providers(limit = 3) out$meta out$items eu_providers(start = 3) eu_providers(providerid = '004') eu_providers(providerid = '004', datasets = TRUE) eu_providers(providerid='045') eu_providers(datasetid = 2023901) identical(eu_providers(providerid = 20239, datasets = TRUE)$items, eu_providers(datasetid = 2023901)$items) # Country codes out <- eu_providers(country_code = 'UK') ### check that all country fields are UK vapply(out$items, "[[", "", "country") # Curl debugging library("httr") eu_providers(limit = 1, config = verbose()) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.