Title: | Interface to the 'VIAF' ('Virtual International Authority File') API |
Version: | 0.3.2 |
Maintainer: | Stefanie Schneider <stefanie.schneider@itg.uni-muenchen.de> |
Description: | Provides direct access to linked names for the same entity across the world's major name authority files, including national and regional variations in language, character set, and spelling. For more information go to https://viaf.org/. |
License: | GPL-3 |
Encoding: | UTF-8 |
LazyData: | true |
RoxygenNote: | 7.3.2 |
URL: | https://github.com/stefanieschneider/viafr |
BugReports: | https://github.com/stefanieschneider/viafr/issues |
Suggests: | testthat (≥ 2.1.0), roxygen2 |
Imports: | utf8, crul, jsonlite, assertthat, magrittr, stringr, tibble, tidyr, purrr, dplyr, rlang |
Depends: | R (≥ 2.10) |
NeedsCompilation: | no |
Packaged: | 2025-01-27 17:58:36 UTC; sschneider |
Author: | Stefanie Schneider
|
Repository: | CRAN |
Date/Publication: | 2025-01-27 18:20:01 UTC |
VIAF Authorities
Description
A dataset containing the names and schemes of 55 organizations and libraries that participate in the VIAF.
Usage
data(authorities)
Format
A tibble with 55 rows and 2 variables.
VIAF Name Types
Description
A dataset containing the 5 possible name types in the VIAF.
Usage
data(name_types)
Format
A tibble with 5 rows and 2 variables.
Get Data for VIAF Identifier(s)
Description
Get authority cluster data based on supplied VIAF identifier(s).
Usage
viaf_get(query = NULL, ...)
Arguments
query |
The VIAF identifier(s) to get data for. |
... |
Optional VIAF API query parameters. |
Value
A tibble with data items.
Note
An internet connection is required. The MARC 21 field definitions are used. This function does not currently work due to changes to the VIAF.
Examples
## Not run: viaf_get(c("64013650", "102333412"))
Search VIAF records
Description
Search VIAF records where the authority includes the given terms.
Usage
viaf_search(query = NULL, ...)
Arguments
query |
The search query (or queries) to get data for. |
... |
Optional VIAF API query parameters. |
Value
A named list of tibbles with data items.
Note
An internet connection is required. The MARC 21 field definitions are used.
Examples
viaf_search(c("Rembrandt", "Jane Austen"))
Suggest VIAF records
Description
Suggest VIAF records based on given terms passed in a query.
Usage
viaf_suggest(query = NULL, ...)
Arguments
query |
The search query (or queries) to get data for. |
... |
Optional VIAF API query parameters. |
Value
A named list of tibbles with data items.
Note
An internet connection is required.
Examples
viaf_suggest(c("rembrandt", "austen"))