get_play_metadata: Retrieve metadata for a play

View source: R/play.R

get_play_metadataR Documentation

Retrieve metadata for a play

Description

get_play_metadata() requests metadata for a specific play, given play and corpus names.

Usage

get_play_metadata(play = NULL, corpus = NULL, full_metadata = TRUE, ...)

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).

full_metadata

Logical: if TRUE (default value), then additional metadata are retrieved.

...

Additional arguments passed to dracor_api.

Value

List with the play metadata.

See Also

get_net_cooccur_edges get_play_rdf get_play_characters

Examples

get_play_metadata(
  play = "lessing-emilia-galotti",
  corpus = "ger",
  full_metadata = FALSE
)

Pozdniakov/rdracor documentation built on April 9, 2024, 1:20 a.m.