powered by
Parses common properties from the result of a MediaWiki API page call.
wt_wiki_page_parse( page, types = c("langlinks", "iwlinks", "externallinks"), tidy = FALSE )
a list
(crul::HttpResponse) Result of wt_wiki_page()
wt_wiki_page()
(character) List of properties to parse.
(logical). tidy output to data.frames when possible. Default: FALSE
FALSE
Available properties currently not parsed: title, displaytitle, pageid, revid, redirects, text, categories, links, templates, images, sections, properties, ...
Other MediaWiki functions: wt_wiki_page(), wt_wiki_url_build(), wt_wiki_url_parse()
wt_wiki_url_build()
wt_wiki_url_parse()
if (FALSE) { pg <- wt_wiki_page("https://en.wikipedia.org/wiki/Malus_domestica") wt_wiki_page_parse(pg) }
Run the code above in your browser using DataLab