recode_responses: Recode repsonses

View source: R/questionnaire_tools.R

recode_responsesR Documentation

Recode repsonses

Description

Recodes responses according to a rubric.

Usage

recode_responses(dataDF, recoding_rubric)

Arguments

dataDF

A long data frame.

recoding_rubric

A recoding rubric with columns 'column_name', 'response', and 'score'

Value

the data frame passed to it, with each value in 'value' replaced with the recoded value in 'score' from the template.


jflournoy/scorequaltrics documentation built on April 29, 2022, 9:17 p.m.