humSummary: Summarize humdrumR corpora

humSummaryR Documentation

Summarize humdrumR corpora

Description

Summarizes the content of a humdrumR corpus, by calling five different corpus summary functions and printing their results.

Usage

## S3 method for class 'humdrumR'
summary(object)

Details

humdrumR includes a number of separate functions for summarizing different aspects of humdrumR data objects:

  • census()

    • Tabulates the raw size of the humdrumR corpus.

  • reference()

    • Tabulates reference records (metadata) for each piece.

  • spines()

    • Tabulates the number of spines and spine paths in pieces in the corpus.

  • interpretations()

    • Tabulates the types of exclusive and tandem interpretations in the corpus.

  • sections()

    • Tabulates any formal data (⁠*>⁠) in the corpus, including barlines.

Each function takes a humdrumR object and returns a data.table. The summary method for humdrumR objects simply calls all of the above functions and prints a condensed version of each.

See Also

Other corpus summary functions: census(), interpretations(), reference(), spines()

Examples

chorales <- readHumdrum(humdrumRroot, "HumdrumData/BachChorales/*.krn")
summary(chorales)


Computational-Cognitive-Musicology-Lab/humdrumR documentation built on Oct. 22, 2024, 9:28 a.m.