MyNixOS website logo
Description

Interact with Metadata Records and Media on the Europeana Repository.

Interact with the Europeana Data Model via a variety of API endpoints that contains digital collections from thousands of institutions around Europe. This translates to millions of Cultural Heritage Objects in the form of image, text, video, sound and 3D, accompanied by rich metadata. The Data Model design principles are based on the core principles and best practices of the Semantic Web and Linked Data efforts to which Europeana contributes (see, e.g., Doerr, Martin, et al. The europeana data model (edm). World Library and Information Congress: 76th IFLA general conference and assembly. Vol. 10. 2010.). The package also provides methods for bulk downloads of specific subsets of items, including both their metadata and their associated media files.

europeanaR

R-CMD-check Codecov testcoverage

The goal of europeanaR is to provide tools to access Linked Open Data published by Europeana. Gain access to millions of entries related to artworks, books, music, and videos on art, newspapers, archaeology, fashion, science, sport, and much more. This thesaurus of cultural heritage can be used in numerous creative ways like for example building applications, data analysis, Statistical and Deep Learning.

Getting started

You can install the development version of europeanaR from GitHub with:

# install.packages("devtools")
devtools::install_github("AleKoure/europeanaR")

Sign up for your free API key and get developing here! When you get you personal key set it as environmental variable.

europeanaR::set_key("YOUR_KEY_GOES_HERE")

Alternatively, you can edit .Renviron by inserting your personal key to the environmental variable EUROPEANA_KEY,

Example

The Search API provides a way to search for metadata records and media on the Europeana repository, for instance give me all results for the word “Vermeer”. The basic API call to the search API can return up to 100 items.

library(europeanaR)
library(data.table)
resp <- query_search_api("Vermeer", rows = 10, reusability = "open")
#transform to tabular data
resp_tidy <- tidy_search_items(resp)
#get preview of first items
first_image <- resp_tidy[type == "IMAGE"][1, edmPreview]

The API call repeats in case of an error, and it is designed to be kind to the server, see here. The retrieved metadata are given in JSON format and are parsed into an R object using jsonlite. In addition, these data can be transformed in tabular format and are compatible also with the data.table package for fast data manipulation operations.

The response richness can be controlled by using the profile query parameter. Also, get bulk downloads of metadata and associated media files by using the functions tidy_cursored_search() and download_media().

bulk_and_rich <- tidy_cursored_search("Vermeer", max_items = 500,
                                      profile = "rich")

The Europeana services documentation can be found here. See the vignettes section and other resources at the package homepage for more information and examples.

Metadata

Version

0.1.0

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows