ls_read_tsv: Read a LimeSurvey Tab-Separated Values file

View source: R/ls_read_tsv.R

ls_read_tsvR Documentation

Read a LimeSurvey Tab-Separated Values file

Description

Read a LimeSurvey Tab-Separated Values file

Usage

ls_read_tsv(file, encoding = limonaid::opts$get("encoding"))

Arguments

file

The filename to read.

encoding

The encoding to use when reading the file.

Value

A dataframe.

Examples

### Get location of one of the example files
exampleFile <-
  system.file(
    "extdata",
    "export-of-survey-with-one-question-as-tsv.txt",
    package = "limonaid"
  );

### Import file
lsrv <- limonaid::ls_read_tsv(exampleFile);

limonaid documentation built on June 14, 2022, 1:06 a.m.