Fennica Authors in Kanto
Source:vignettes/articles/fennica_authors_kanto.Rmd
fennica_authors_kanto.Rmd
Introduction
This document provides an example usage of the search_fennica_authors() function, which links authors from the Fennica catalog to their respective Kanto IDs in Finto’s ‘Finaf’ vocabulary. The function helps enrich metadata for bibliographic records.
suppressMessages(suppressWarnings({
if (!requireNamespace("devtools", quietly = TRUE)) {
install.packages("devtools", quiet = TRUE)
}
devtools::install_github("ake123/finto", quiet = TRUE)
}))
After downloading the package we select the columns id
,
Title
and Author
library(finna)
library(finto)
library(dplyr)
data("fennica_subset",package = "finna")
fennica_subset <- tail(fennica_subset)
knitr::kable(fennica_subset,caption = "few selected fennica data")
ID | Author | Name_100a | Code_1000 | Code_7000 | Code_7001 |
---|---|---|---|---|---|
000864524 | 00000cam a2200445 i 4500 | Reuter, Enzio, | (FIN11)000080453 | NA | NA |
000864525 | 00000cam a2200445 i 4500 | Wendt, Georg von, | (FIN11)000084103 | NA | NA |
000864526 | 00000cam a2200421 i 4500 | Linnaniemi, Walter L. | NA | NA | NA |
000864528 | 00000cam a2200925 i 4500 | NA | NA | Cronvall, Timo. | NA |
000864529 | 00000cam a2201177 i 4500 | Mechelin, L., | (FIN11)000090610 | NA | NA |
000864530 | 00000cam a2200769 i 4500 | NA | NA | Kuronen, Soili.|Kainulainen, Juhana, | (FIN11)000091625 |
So the processed output of the retrieved finto/kanto data can be found using the provided code below.
authors_df <- finto::process_and_fetch_kanto_info(fennica_subset)
knitr::kable(authors_df, caption = "Authors Data Frame from kanto")
asteriID | uri | type | prefLabel | altLabel | hiddenLabel | broader | narrower | related | definition | scopeNote | example | historyNote | editorialNote | changeNote | profession | birthDate | deathDate | exactMatch | closeMatch | inScheme | created | modified |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
000080453 | http://urn.fi/URN:NBN:fi:au:finaf:000080453 | http://rdaregistry.info/Elements/c/C10004, skos:Concept | Reuter, Enzio, 1867-1951 | NA | NA | NA | NA | NA | NA | NA | NA | NA | NA | NA | biologist | 1867 | 1951 | NA | http://urn.fi/urn:nbn:fi:sks-kbg-006353 | http://urn.fi/URN:NBN:fi:au:finaf: | 1997-12-17 | 2023-04-20T12:31:37 |
000084103 | http://urn.fi/URN:NBN:fi:au:finaf:000084103 | http://rdaregistry.info/Elements/c/C10004, skos:Concept | Wendt, Georg von, 1876-1954 | NA | NA | NA | NA | NA | NA | NA | NA | NA | NA | NA | physiologist | 1876 | 1954 | NA | http://urn.fi/urn:nbn:fi:sks-kbg-006521 | http://urn.fi/URN:NBN:fi:au:finaf: | 1998-05-15 | 2023-04-20T12:31:45 |
NA | NA | NA | NA | NA | NA | NA | NA | NA | NA | NA | NA | NA | NA | NA | NA | NA | NA | NA | NA | NA | NA | NA |
000090610 | http://urn.fi/URN:NBN:fi:au:finaf:000090610 | skos:Concept, http://rdaregistry.info/Elements/c/C10004 | Mechelin, L., 1839-1914 | NA | NA | NA | NA | NA | NA | NA | NA | NA | NA | NA | social politician, lawyer | 1839 | 1914 | NA | http://urn.fi/urn:nbn:fi:sks-kbg-003553 | http://urn.fi/URN:NBN:fi:au:finaf: | 1998-07-22 | 2023-04-20T12:29:54 |
000091625 | http://urn.fi/URN:NBN:fi:au:finaf:000091625 | http://rdaregistry.info/Elements/c/C10004, skos:Concept | Kainulainen, Juhana, 1788-1847 | NA | NA | NA | NA | NA | NA | NA | NA | NA | NA | NA | rune singer | 1788 | 1847 | NA | NA | http://urn.fi/URN:NBN:fi:au:finaf: | 1997-10-21 | 2022-09-02T19:14:58 |