page_info | R Documentation |
page_info, when provided with a page title, retrieves metadata about that page.
page_info(
language = NULL,
project = NULL,
domain = NULL,
page,
properties = c("protection", "talkid", "url", "displaytitle"),
clean_response = FALSE,
...
)
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 metadata of. |
properties |
the properties you'd like to retrieve. Some properties (the pageID, namespace,
title, language, length and most recent revision ID, for example) are retrieved by default,
whatever is passed to |
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. |
## Not run:
#Metadata
page_metadata <- page_info("en","wikipedia", page = "Aaron Halfaker")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.