Description Usage Arguments Value Examples
Retrieve the first section (extract) of Wikipedia articles
1 | pediaextract(wikititles, lang = "en")
|
wikititles |
A character string or Charactor vector of Wikipedia article titles |
lang |
Language of Wikipedia to query, default = 'en' |
data.frame of extracts
1 2 3 4 | pediaextract("Hong_Kong")
pediaextract("Hong Kong") # smart enough to replace space with underscore
pediaextract("Hong_Kong", lang="es")
pediaextract(c("R.E.M.", "Nirvana (band)", "Pearl Jam"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.