v_AutoSuggest {wikiTools}R Documentation

Suggests VIAF id from a name

Description

Search the name of the author from the VIAF AutoSuggest API and returns information in JSON format of the records found. Note that only returns a maximum of 10 records. Note that those records are not VIAF cluster records. A VIAF record is considered a "cluster record," which is the result of combining records from many libraries around the world into a single record.

Usage

v_AutoSuggest(author)

Arguments

author

String to search. Please, see the structure of the author string to obtain better results: author: last name, first name[,] [([year_of_bird][-year_of_death])]

Value

A data-frame with four columns from the elements "term", "score", "nametype" and "viafid" of the Autosuggest API response.

See Also

https://www.oclc.org/developer/api/oclc-apis/viaf/authority-cluster.en.html

Examples

v_AutoSuggest('Iranzo')
v_AutoSuggest('Esparza, MarĂ­a')
# Four rows, only two viafid:
v_AutoSuggest('Escobar, Modesto')

[Package wikiTools version 1.2.4 Index]