MyNixOS website logo
Description

Access the 'Finna' API.

Provides functions to access and retrieve metadata from the 'Finna' API <https://api.finna.fi/>, which aggregates content from Finnish archives, libraries, and museums.

finna

rOG-badge R-CMD-check issues pulls

The finna package provides tools to access and analyze metadata from the Finna API, which aggregates content from Finnish archives, libraries, and museums.

Installation instructions

Install the released version from CRAN:

install.packages("finna")

The devel version of finna can be installed from GitHub as follows:

# Install finna if not already installed
if (!requireNamespace("finna", quietly = TRUE)) {
  remotes::install_github("rOpenGov/finna")
}
remotes::install_github("rOpenGov/finna")

Example

The basic functionality of finna can be explored as follows:

N.B In the search_finna() default limit of 100 records is being used. Specify 'limit' argument for more records.

# Load the package
library(finna)
# Perform a simple search and print a table

record <- search_finna("sibelius")
head(record)
TitleAuthorYearLanguageFormatsSubjectsLibrarySeries
Sibelius favourites: Sibelius collectionSibelius2001N/AÄänite (audio)OrkesterimusiikkiLapinN/A
SIBELIUSTAWASTSTJERNA1997FinnishKirja (book)SIBELIUSAnders ChydeniusN/A
SibeliusTAWASTSTJERNA1997FinnishKirja (book)SibeliusAnders ChydeniusN/A
SibeliusLampila1984FinnishKirja (book)SibeliusHelka-arkistoN/A
SibeliusTAWASTSTJERNA2003FinnishKirja (book)SibeliusKansalliskirjastoN/A
SibeliusRingbom1948FinnishKirja (book)SibeliusKirkesN/A

To search all related in descending order

record <- search_finna("sibelius", sort = "main_date_str des")
head(record)
TitleAuthorYearLanguageFormatsSubjectsLibrarySeries
He selvisivät sodastaKirves, Jenni, Werner Söderström2024FinnishKirja (book)SotilaatAnders ChydeniusN/A
Yli-ihmisiä ja traagisia kuolevaisia: esseitä ja kirjoituksia 1901-1945Frosterus, Sigurd, Sarje Maaria2024FinnishKirja (book)Wagner, etc.Helka-arkistoN/A
Eero JärnefeltJärnefelt, Eero, Selkokari2024FinnishKirja (book)JärnefeltAnders ChydeniusAteneum
Eero JärnefeltJärnefelt, Eero, Selkokari2024SwedishKirja (book)JärnefeltHelle-kirjastotAteneum
Eero JärnefeltJärnefelt, Eero, Selkokari2024EnglishKirja (book)JärnefeltHelmet-kirjastoAteneum
SolaceN/A2024No language (zxx)Äänite (audio)N/AAnders ChydeniusN/A

Contribute

Contributions are very welcome:

Acknowledgements

This work has been supported by the Research Council of Finland (decisions 358720, 348946). The work is part of FIN-CLARIAH research infrastucture for digital humanities. This functionality related to music data has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 101095295 (OpenMUSE).

Disclaimer

This package is in no way officially related to or endorsed by Finna.

When using metadata retrieved from Finna database in your work, please indicate that the metadata source is Finna. If your re-use involves some kind of modification to data or text, please state this clearly to the end user. See Finna policy on copyright and free re-use of metadata for more detailed information and certain exceptions.

Metadata

Version

0.1.1

License

Unknown

Platforms (77)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-freebsd
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64-windows
  • 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