Description Usage Arguments Value Examples
Get a Wikidata property
1 | wdgetproperty(pid, lang = "en", print = TRUE)
|
pid |
The Wikidata property id, as string (including the 'P') or integer value (without the 'P') |
lang |
Language abbreviation (ISO language codes), as string - default is |
print |
Logical - if |
A vector of two: property value and property description
1 2 3 4 5 | ## Not run:
wdgetproperty(31)
prop <- wdgetproperty(pid="p31", lang="pl", print=FALSE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.