fixNames: Fix the names from the qualtrics table

Description Usage Arguments

View source: R/preprocessingFuns.R

Description

Since the Qualtrics output has a weird three-line header, this function cleans up the names. Sets the first row of the data frame as names, then removes the first and second rows of the data frame. Then it renames a bunch of still-messy names from Qualtrics.

Usage

1

Arguments

df

Raw survey data as a data frame. Must have column 'responseID'.


kaijagahm/ygdpAddSurvey documentation built on July 22, 2021, 2:11 p.m.