ls_read_tsv {limonaid}R 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);

[Package limonaid version 0.1.5 Index]