v_AutoSuggest | R Documentation |
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.
v_AutoSuggest(author)
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])] |
A data-frame with four columns from the elements "term", "score", "nametype" and "viafid" of the Autosuggest API response.
https://developer.api.oclc.org/viaf-api#/Authority%20Cluster
v_AutoSuggest('Iranzo')
v_AutoSuggest('Esparza, María')
# Four rows, only two viafid:
v_AutoSuggest('Escobar, Modesto')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.