README.md

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)

| Title | Author | Year | Language | Formats | Subjects | Library | Series | |:---------------------------------------------------------------------------------------------|:-----------------|:-----|:---------|:------------------|:------------------|:--------------------|:-------| | Sibelius favourites: Sibelius collection | Sibelius | 2001 | N/A | Äänite (audio) | Orkesterimusiikki | Lapin | N/A | | SIBELIUS | TAWASTSTJERNA | 1997 | Finnish | Kirja (book) | SIBELIUS | Anders Chydenius | N/A | | Sibelius | TAWASTSTJERNA | 1997 | Finnish | Kirja (book) | Sibelius | Anders Chydenius | N/A | | Sibelius | Lampila | 1984 | Finnish | Kirja (book) | Sibelius | Helka-arkisto | N/A | | Sibelius | TAWASTSTJERNA | 2003 | Finnish | Kirja (book) | Sibelius | Kansalliskirjasto | N/A | | Sibelius | Ringbom | 1948 | Finnish | Kirja (book) | Sibelius | Kirkes | N/A |

To search all related in descending order

record <- search_finna("sibelius", sort = "main_date_str des")
head(record)

| Title | Author | Year | Language | Formats | Subjects | Library | Series | |:---------------------------------------------------------------------------------------|:--------------------------|:-----|:---------|:----------------|:--------------|:----------------|:---------| | He selvisivät sodasta | Kirves, Jenni, Werner Söderström | 2024 | Finnish | Kirja (book) | Sotilaat | Anders Chydenius | N/A | | Yli-ihmisiä ja traagisia kuolevaisia: esseitä ja kirjoituksia 1901-1945 | Frosterus, Sigurd, Sarje Maaria | 2024 | Finnish | Kirja (book) | Wagner, etc. | Helka-arkisto | N/A | | Eero Järnefelt | Järnefelt, Eero, Selkokari | 2024 | Finnish | Kirja (book) | Järnefelt | Anders Chydenius | Ateneum | | Eero Järnefelt | Järnefelt, Eero, Selkokari | 2024 | Swedish | Kirja (book) | Järnefelt | Helle-kirjastot | Ateneum | | Eero Järnefelt | Järnefelt, Eero, Selkokari | 2024 | English | Kirja (book) | Järnefelt | Helmet-kirjasto | Ateneum | | Solace | N/A | 2024 | No language (zxx) | Äänite (audio) | N/A | Anders Chydenius | N/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.



Try the finna package in your browser

Any scripts or data that you put into this service are public.

finna documentation built on April 4, 2025, 2:33 a.m.