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)
}

Try the MTurkR package in your browser

Any scripts or data that you put into this service are public.

MTurkR documentation built on May 29, 2017, 11:09 p.m.