GetWikidataitem | R Documentation |
GetWikidataitem Use Wikimedia_query to obtain the Wikidata entity of a article from a Wikimedia project. Automatically resolvs redirects.
GetWikidataitem(article = "", project = "en.wikipedia.org")
article |
Article to search |
project |
Wikimedia project, defaults "en.wikipedia.org" |
A vector with the firts element to 1 if exists the Wikidata item and if not a disambiguation page, the second element de normalized forma of article, and the third the wikidata item. If errors, the firts element is set to 0 and the third is the explication of error.
Angel F. Zazo, Departament of Computer Science and Automatics, University of Salamanca
GetWikidataitem('Max Planck', project='es.wikipedia.org') GetWikidataitem('Max') GetWikidataitem('Cervante')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.