find_item: Search for Wikisource items or properties that match a search...

Description Usage Arguments See Also Examples

Description

find_item and find_property allow you to retrieve a set of Wikisource items or properties where the aliase or descriptions match a particular search term. As with other WikisourceR code, custom print methods are available; use str to manipulate and see the underlying structure of the data.

Usage

1
2
3
find_item(search_term, language = "ko", limit = 10, ...)

find_property(search_term, language = "ko", limit = 10)

Arguments

search_term

a term to search for.

language

the language to return the labels and descriptions in; this should consist of an ISO language code. Set to "ko" by default.

limit

the number of results to return; set to 10 by default.

...

further arguments to pass to httr's GET.

See Also

get_random for selecting a random item or property, or get_item for selecting a specific item or property.

Examples

1
2
3
#Check for entries relating to Douglas Adams in some way

#Check for properties involving the peerage

forkonlp/WikisourceR documentation built on May 16, 2019, 1:50 p.m.