View source: R/tw_get_wikipedia_page_section_links.R
tw_get_wikipedia_section_links_api_url | R Documentation |
Mostly used internally
tw_get_wikipedia_section_links_api_url(
url = NULL,
title = NULL,
section_index,
language = tidywikidatar::tw_get_language()
)
url |
A character vector with the full URL to one or more Wikipedia pages. If given, title and language can be left empty. |
title |
Title of a Wikipedia page or final parts of its url. If given, url can be left empty, but language must be provided. |
section_index |
Required. It should correspond to the ordinal of a section of the relevant Wikipedia page. See also |
language |
Two-letter language code used to define the Wikipedia version to use. Defaults to language set with |
A character vector of base urls to be used with the MediaWiki API
tw_get_wikipedia_section_links_api_url(title = "Margaret Mead", section_index = 1, language = "en")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.