ask_for_csv: Ask the user for the Qualtrics Response Set

Description Usage Arguments Value

View source: R/loading_files.R

Description

ask_for_csv() inputs a file and a number of headerrows and returns a list containing a responses data frame, and a 1-2 row data frame of the responses' headers. Both input parameters are optional in the sense that they do not have to be provided inline to the function, and that the function will ask the user to choose a file for the responsesfile if one is not provided inline, and it will default to using 3 headerrows.

Usage

1
ask_for_csv(responsesfile, headerrows)

Arguments

responsesfile

this is the file path of a CSV response set to a Qualtrics survey

headerrows

the number of rows before responses begin in the CSV data

Value

a list of two elements: the responses data frame, and the original_first_rows data frame


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