Skip to contents

Cells from elicited records: full answers per respondent, or next-token shares per profile

Usage

aggregate_records(
  records,
  respondents,
  question,
  mode,
  cell = "cell_id",
  respondent = "respondent_id",
  profile = "profile_id"
)

Arguments

records

Records from read_records().

respondents

A data frame with one row per respondent.

question

A question from read_questions().

mode

"fa" or "ntp".

cell

Cell label column.

respondent

Respondent id column of respondents.

profile

Profile id column of respondents.

Value

Cells.