separate_responses: separate_responses

separate_responsesR Documentation

separate_responses

Description

Creates one line per response. This function is critical to separate multiple responses in different rows

Usage

separate_responses(DF)

Arguments

DF

DF with a trialid and response columns

Value

The same DF cleaning up the response column. If a cell contains multiple responses, it will separate them in multiple lines.

Examples

separate_responses(DF = tibble::tibble(trialid = "PRFBM_04", 
response = '{""Q1"":""Muy de acuerdo"",""Q2"":""Muy de acuerdo""}'))

gorkang/jsPsychHelpeR documentation built on Oct. 15, 2024, 8 a.m.