Description Usage Arguments See Also Examples
get_item and get_property allow you to retrieve the data associated
with individual Wikisource items and properties, respectively. As with
other WikisourceR code, custom print methods are available; use str
to manipulate and see the underlying structure of the data.
| 1 2 3 | get_item(id, ...)
get_property(id, ...)
 | 
| id | the ID number of the item or property you're looking for. This can be in various formats; either a numeric value ("200"), the full name ("Q200") or even with an included namespace ("Property:P10") - the function will format it appropriately. | 
| ... | further arguments to pass to httr's GET. | 
get_random for selecting a random item or property,
or find_item for using search functionality to pull out
item or property IDs where the descriptions or aliases match a particular
search term.
| 1 2 3 4 5 | #Retrieve a specific item
adams_metadata <- get_item("42")
#Retrieve a specific property
object_is_child <- get_property("P40")
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.