Description Usage Arguments Value Examples
Creating a graph objet in witch an edge is a wiki page and a vertice is a link beetween two wiki pages.
1 | graph_page(x, domain = "fr", namespace = "0")
|
x |
Can be either a string defining a page title or a character vector, and the function will return the graph of all the links beetween al the pages included in the vector |
domain |
The domain where is located the wiki |
namespace |
The namespace pages the function will graph |
An igraph object
1 2 3 4 5 6 7 8 9 | # Graph of the 'Action' article in the french wiki.
graph_page('Action')
# Graphing a group of page
page <- c('Karl Marx','Classe sociale','Industrie')
# Return a graph where the 3 edges represents 'Karl Marx', 'Classe sociale' and 'Industrie',
# and the vertices the link present or not beetween this pages.
g <- graph_page(page)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.