order.responses {litRiddle}R Documentation

Order Responses

Description

Function that transforms the survey responses into ordered factors. Levels quality.read and quality.notread: "very bad", "bad", "a bit bad", "neutral", "a bit good", "good", "very good", "NA". Levels literariness.read and literariness.notread: "absolutely not literary", "non-literary", "not very literary", "between literary and non-literary","a bit literary", "literary", "very literary", "NA". Levels statements 4/12: "completely disagree", "disagree", "neutral", "agree", "completely agree", "NA".

Usage

order.responses(bookratings.or.readingbehavior = NULL)

Arguments

bookratings.or.readingbehavior

Use either "bookratings" or "readingbehavior" to specify which of the survey questions needs to be changed into ordered factors.

Value

A data table containing relevant variables.

Author(s)

Saskia Lensink, Maciej Eder

References

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

See Also

reviews, respondents, motivations, books

Examples

# to create a data frame with ordered factor levels of the questions 
# on reading behavior:
dat.reviews = order.responses("readingbehavior")
str(dat.reviews)

# to create a data frame with ordered factor levels of the book ratings:
dat.ratings = order.responses("bookratings")
str(dat.ratings)

[Package litRiddle version 1.0.0 Index]