R/readlogfile.R

Defines functions readlogfile

Documented in readlogfile

readlogfile <-
function(path = getOption('MTurkR.logdir'), filename = "MTurkRlog.tsv"){
    if (!filename %in% list.files(path=path)) {
        stop("No Log File Found")
    }
    logfile <- read.delim(file.path(path,filename), header = TRUE, sep = "\t", quote = "", stringsAsFactors = FALSE)
    invisible(logfile)
}
leeper/MTurkR documentation built on April 3, 2018, 5:27 p.m.