get_play_characters {rdracor}R Documentation

Retrieve data for characters in a play

Description

get_play_characters() requests miscellaneous information for characters in a play, given play and corpus names: name, number and size of their lines, gender, some network metrics etc.

Usage

get_play_characters(play = NULL, corpus = NULL, ...)

Arguments

play

Character, name of a play (you can find all play names in "playName" column within an object returned by get_dracor). Character vector (longer than 1) is not supported.

corpus

Character, name of the corpus (you can find all corpus names in name column within an object returned by get_dracor_meta).

...

Additional arguments passed to dracor_api.

Value

Data frame, every raw represents one character in the play.

See Also

get_play_metadata

Examples

get_play_characters(play = "lessing-emilia-galotti", corpus = "ger")

[Package rdracor version 1.0.3 Index]