Description Usage Arguments Examples
page_external_links, when provided with a page title, retrieves external wikilinks from the current revision of that page.
1 2 |
language |
The language code of the project you wish to query, if appropriate. |
project |
The project you wish to query ("wikiquote"), if appropriate.
Should be provided in conjunction with |
domain |
as an alternative to a |
page |
the title of the page you want the links of. |
protocol |
limit links to those with certain link protocols. Options are listed in Special:ApiSandbox's elprotocol field. |
clean_response |
whether to do some basic sanitising of the resulting data structure. Set to FALSE by default. |
... |
further arguments to pass to httr's GET. |
1 2 3 4 5 6 | #Links
external_links <- page_external_links("en","wikipedia", page = "Aaron Halfaker")
#Protocol-specific links
external_http_links <- page_external_links("en","wikipedia",
page = "Aaron Halfaker", protocol = "http")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.