Description Usage Arguments Value Examples
Returns an HTML object that contains the requested section of the web page. Useful for getting a section of a long Wikipedia page to pass to [wiki_table()].
1 | wiki_section(page, section, delay = 1)
|
page |
Either a url to a wikipediea page, or an object that contains the body of a wikipedia page (e.g. from ws_scrape_page). |
section |
The header or css id of the section to retrieve |
delay |
Rate at which to throttle calls. There is no delay if the function is passed an HTML object (e.g. from wiki_page). Defaults to 1, delay can be turned off by setting this value to 0. Time between calls is determined by multiplying the value of this parameter with the server's response time. |
Returns an HTML object that contains the requested section of the web page.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.