read_survey: Read survey data

Description Usage Arguments Details Value

View source: R/read_survey.R

Description

Interprets the extension of a filename for survey data and calls the appropriate function to read the file.

Usage

1

Arguments

fn

A filename as a character vector of length 1

sheet

For .xlsx files, the name of the spreadsheet in which the data are stored

Details

Currently this can read .xslx or .csv files which must be formatted according to the vignette. Any file not ending in .xlsx tries to read a .csv

Value

A data frame containing data from the .csv or .xlsx file


miranda-chen/teachAnxiety documentation built on Dec. 24, 2019, 4:32 a.m.