Package: DramaAnalysis 3.0.2

Nils Reiter

DramaAnalysis: Analysis of Dramatic Texts

Analysis of preprocessed dramatic texts, with respect to literary research. The package provides functions to analyze and visualize information about characters, stage directions, the dramatic structure and the text itself. The dramatic texts are expected to be in CSV format, which can be installed from within the package, sample texts are provided. The package and the reasoning behind it are described in Reiter et al. (2017) <doi:10.18420/in2017_119>.

Authors:Nils Reiter [aut, cre], Tim Strohmayer [ctb], Janis Pagel [ctb]

DramaAnalysis_3.0.2.tar.gz
DramaAnalysis_3.0.2.zip(r-4.5)DramaAnalysis_3.0.2.zip(r-4.4)DramaAnalysis_3.0.2.zip(r-4.3)
DramaAnalysis_3.0.2.tgz(r-4.4-any)DramaAnalysis_3.0.2.tgz(r-4.3-any)
DramaAnalysis_3.0.2.tar.gz(r-4.5-noble)DramaAnalysis_3.0.2.tar.gz(r-4.4-noble)
DramaAnalysis_3.0.2.tgz(r-4.4-emscripten)DramaAnalysis_3.0.2.tgz(r-4.3-emscripten)
DramaAnalysis.pdf |DramaAnalysis.html
DramaAnalysis/json (API)
NEWS

# Install 'DramaAnalysis' in R:
install.packages('DramaAnalysis', repos = c('https://quadrama.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/quadrama/dramaanalysis/issues

Datasets:

On CRAN:

corpus-linguisticsdigital-humanitiesdramadramatic-textsstatistics

4.79 score 15 stars 41 scripts 237 downloads 39 exports 42 dependencies

Last updated 4 years agofrom:bb7357b1af. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 06 2024
R-4.5-winOKNov 06 2024
R-4.5-linuxOKNov 06 2024
R-4.4-winOKNov 06 2024
R-4.4-macOKNov 06 2024
R-4.3-winOKNov 06 2024
R-4.3-macOKNov 06 2024

Exports:characterNamescharacterStatisticscombineconfigurationcorrelationAnalysisdictionaryStatisticsdictionaryStatisticsSingledramaNamesensureSuffixfilterByDictionaryfilterCharactersfrequencytablehamminginstallCollectionDatainstallDataisolateCharacterSpeechkeynessloadAllInstalledIdsloadDramaloadDramaTEIloadFieldsloadMetaloadSetloadSetsmapPrefixnewCollectionnumberOfPlaysplotSpiderWebspostagspresenceqd.colorsreportscenicDifferencesegmentsetCollectionDirectorysetDataDirectorysetDirectoriestfidfutteranceStatistics

Dependencies:askpassbitbit64clicliprcpp11crayoncurldata.tablefansigit2rgluehmshttrjsonlitelifecyclemagrittrmimeopensslpillarpkgconfigplyrprettyunitsprogressR6Rcppreadrreshape2rlangSnowballCstringistringrsystibbletidyselecttokenizerstzdbutf8vctrsvroomwithrxml2

Readme and manuals

Help Manual

Help pageTopics
Stacked Bar Plotbarplot.QDCharacterStatistics
Base dictionarybase_dictionary
Format NamescharacterNames
Basic Character StatisticscharacterStatistics
Combine multiple playscombine
Character Configurationas.matrix.QDConfiguration configuration
Correlation analysiscorrelationAnalysis
Data setsdata rjmw.0 rksp.0
Dictionary Useas.matrix.QDDictionaryStatistics dictionaryStatistics dictionaryStatisticsSingle
Format drama titlesdramaNames
Utility functionsensureSuffix
Word frequenciesfilterByDictionary frequencytable
Filter charactersfilterCharacters
Download and install collection datainstallCollectionData
Download preprocessed drama datainstallData
Isolate Character SpeechisolateCharacterSpeech
Keywordskeyness
Installed textsloadAllInstalledIds
Character data loadingloadCharacters
Load dramaloadDrama
Load dramaloadDramaTEI
Dictionary HandlingloadFields
Load meta dataloadMeta
Load CollectionsloadSet loadSets
Load TextloadText
Replace corpus prefixmapPrefix
Create or Extend a CollectionnewCollection
Number of playsnumberOfPlays
Measuring Personnel Exchange over Boundarieshamming personnelExchange scenicDifference
Personnel Exchangeplot.QDHamming
Utterance positionsplot.QDUtteranceStatistics
Spider-WebsplotSpiderWebs
Provides lists of groups of pos tags for various word classes.postags
Active and Passive Presencepresence
QuaDramA colorsqd.colors
Reportreport
Segmentsegment
This function initializes the paths to data files.setCollectionDirectory setDataDirectory setDirectories
Split multiple playssplit.QDDrama
TF-IDFtfidf
Utterance StatisticsutteranceStatistics