q_read: Read qualtrics file as a tibble

Description Usage Arguments Value

Description

Reads in a qualtrics file and handles formatting of header rows. Variable names contained in the first two rows are read via q_readv. The remainder of the data set is then read in, using the formatted variable names as column names.

Usage

1

Arguments

file

Either a path to a file, a connection, or literal data (either a single string or a raw vector).

Files ending in .gz, .bz2, .xz, or .zip will be automatically uncompressed. Files starting with http://, https://, ftp://, or ftps:// will be automatically downloaded. Remote gz files can also be automatically downloaded & decompressed.

Literal data is most useful for examples and tests. It must contain at least one new line to be recognised as data (instead of a path).

Value

tibble. Column names derived using q_readv


drsimonj/qualtricsr documentation built on May 15, 2019, 2:53 p.m.