create_panel_data: Create Panel Data for Reshaped Data

Description Usage Arguments

View source: R/reorganizing_survey_data.R

Description

The user provides this function a character vector of names of response columns ( as the panel_columns var), along with the response set data frame, and the returned data is a data frame with respondent IDs and column(s) for each column specified. If the optional parameters, lean_responses and question_dict are provided, then the function will use them to include a "Raw Response" and a "Coded Response" column for any columns which are question response columns.

Usage

1
2
create_panel_data(panel_columns, survey_responses, lean_responses,
  question_dict)

Arguments

panel_columns

a list of names of columns desired for inclusion

survey_responses

a response set data frame imported from the Qualtrics CSV responses

lean_responses

an optionally included data frame generated by the lean_responses() function

question_dict

an optionally included data frame generated by the create_response_column_dictionary() function


ctesta01/qualtrics-R-package documentation built on May 14, 2019, 12:28 p.m.