Learn R Programming

litRiddle (version 1.0.0)

motivations.sentences: Motivations Sentences

Description

Convenience function that produces a 'view' of the token table motivations with one (plain text) sentence of each motivation per row, listening motivation.id, book.id, respondent.id, sentence.id, and sentence.

Usage

motivations.sentences()

Value

A data table containing all sentences of all given motivations and IDs related to respondents and books.

Arguments

None

Author

Joris van Zundert, Saskia Lensink, Maciej Eder

References

https://literaryquality.huygens.knaw.nl/

See Also

motivations.text, reviews, respondents, books

Examples

Run this code
# to create a data frame with one sentence per motivation per row for all motivations:
mots <-  motivations.sentences()
head( mots, n=10 )

Run the code above in your browser using DataLab