Package 'viafr'

Title: Interface to the 'VIAF' ('Virtual International Authority File') API
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/>.
Authors: Stefanie Schneider [cre, aut]
Maintainer: Stefanie Schneider <[email protected]>
License: GPL-3
Version: 0.3.1
Built: 2024-12-26 04:43:01 UTC
Source: https://github.com/stefanieschneider/viafr

Help Index


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"))

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"))