Skip to contents

Each cell's full-answer shares: parsed answers joined to respondents, averaged over valid answers

Usage

aggregate_fa(
  answers,
  respondents,
  question,
  cell = "cell_id",
  respondent = "respondent_id",
  answer = "answer"
)

Arguments

answers

A data frame with one parsed answer per respondent.

respondents

A data frame with one row per respondent.

question

A question from read_questions().

cell

Cell label column.

respondent

Respondent id column in both tables.

answer

Answer column, or NULL for the question id.

Value

Cells.