get_character_plays {rdracor} | R Documentation |
Retrieve plays having a character identified by 'Wikidata ID'
Description
get_character_plays()
requests plays that include a character that can
by found in 'Wikidata' by it's id. get_character_plays()
sends a
request and parses the the result to get those plays as a data frame.
Usage
get_character_plays(char_wiki_id)
Arguments
char_wiki_id |
Character value with 'Wikidata ID' for a character. 'Wikidata ID' can be found on https://www.wikidata.org/wiki/Wikidata:Main_Page. Character vector (longer than 1) is not supported. |
Value
Data frame, in which one row represents one play. Information on author(s) name, character name, play name, URL and ID is represented in separate columns.
See Also
Examples
wiki_id <- "Q131412"
get_character_plays(wiki_id)
[Package rdracor version 1.0.3 Index]