Description Usage Arguments Details Value See Also Examples
Parses common properties from the result of a MediaWiki API page call.
1 2 3 4 5 | wt_wiki_page_parse(
page,
types = c("langlinks", "iwlinks", "externallinks"),
tidy = FALSE
)
|
page |
(crul::HttpResponse) Result of |
types |
(character) List of properties to parse. |
tidy |
(logical). tidy output to data.frames when possible.
Default: |
Available properties currently not parsed: title, displaytitle, pageid, revid, redirects, text, categories, links, templates, images, sections, properties, ...
a list
Other MediaWiki functions:
wt_wiki_page()
,
wt_wiki_url_build()
,
wt_wiki_url_parse()
1 2 3 4 5 | ## Not run:
pg <- wt_wiki_page("https://en.wikipedia.org/wiki/Malus_domestica")
wt_wiki_page_parse(pg)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.