Learn R Programming

litRiddle (version 1.0.0)

combine.all: Combine All Information of the Survey

Description

Function to combine all information of the survey, reviews, and books into one big dataframe. The user can specify whether or not they want to also load the freqTable with the frequency counts of the word n-grams of the books.

Usage

combine.all(load.freq.table = FALSE)

Value

A data frame combining the two (optionally three) datasets: books, respondents, and reviews.

Arguments

load.freq.table

specify whether or not you want to add the freqTable with the frequency counts of the word n-grams of the books. Default is FALSE.

Author

Saskia Lensink, Maciej Eder

Details

In order to identify (possible) correlations between particular reviews (e.g. the scores by the reviewers) with metadata about the reviewers themselves, it is usually required, or at least convenient, to combine two or more datasets into one large table.

References

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

See Also

reviews, respondents, motivations, books

Examples

Run this code
# combine and load all data from the books, respondents and reviews into 
# a new dataframe (tibble format)
combine.all(load.freq.table = FALSE)

# combine and load all data from the books, respondents and reviews into 
# a new dataframe (tibble format), and additionally also load the frequency
# table of all word 1grams of the corpus used. 
combine.all(load.freq.table = TRUE)

Run the code above in your browser using DataLab