Software Open Access

quadrama/DramaAnalysis: 3.0.0

Nils Reiter; Tim Strohmayer


This is a redesign and complete overhaul of the R package. Existing code that uses functions of the package cannot be expected to continue to run without modifications. The major changes (compared to 2.x) are:

  • Classes: Most functions now produce a classed object. This makes it easier to prevent an erroneous use of functions.
  • Ids and names: All functions now rely only on character ids. If one needs character names for plotting and visualisation, they can be inserted later using characterNames(), with a controlled formatting.
  • Data files now include stage directions and character mentions, and functions can process them
  • Extensive documentation in the form of a tutorial:
  • The wording in documentation and functions has been updated, so that figures are now called characters.
  • Some functions have been renamed:
    • setup() is now called setDirectories() to avoid name conflicts
    • figureStatistics() is now called characterStatistics()
  • Some functions have been removed:
    • rankFiguresByAppearance()
    • rankFiguresByDramatisPersonae()
    • regroup()
    • dictionaryStatisticsL()
    • limitFigures()
    • filterMentioned()
    • dramaHead()
    • dramaTail()
    • enrichDictionary()
 devtools::install_github("quadrama/DramaAnalysis", ref="v3.0.0")

Files (534.4 kB)
Name Size
534.4 kB Download
All versions This version
Views 262131
Downloads 446
Data volume 18.5 MB3.2 MB
Unique views 221116
Unique downloads 113


Cite as