dramaNames

0th

Percentile

Format drama titles

Given a QDDrama object, this function generates a list of nicely formatted names, following the format string.

Usage
dramaNames(x, ids = NULL, formatString = "%A: %T (%DM)",
  orderBy = "drama")
Arguments
x

The QDDrama object

ids

If specified, should be a character vector of play ids (prefixed with corpus). Then the return value only contains the plays in the vector and in the order specified.

formatString

A character vector. Contains special symbols that are replaced by meta data entries about the plays. The following symbols can be used: - %T: title of the play - %A: Author name - %P: GND entry of the author (if known) - %DR, - %DM: The minimal date - %L: The language - %I: The id - %C: The corpus prefix

orderBy

The meta data key that the final list will be ordered by

Value

Character vector of formatted drama names

Aliases
  • dramaNames
Documentation reproduced from package DramaAnalysis, version 3.0.0, License: GPL (>= 3)

Community examples

Looks like there are no examples yet.