Description Usage Arguments Details Value Author(s) See Also Examples
A log of all MTurk API requests are stored in a tab-separated value file called ‘MTurkRLog.tsv’ in, by default, the current working directory. This function reads this MTurkR logfile into R as a data frame, using read.delim
.
1 | readlogfile(path = getOption('MTurkR.logdir'), filename="MTurkRlog.tsv")
|
path |
An optional character string specifying the path of a directory containing an MTurkR log file. |
filename |
The name of the MTurkR log file. The default is ‘MTurkRlog.tsv’. |
By default, MTurkR stores a record of all MTurk API requests in a local file in the working directory (though this can be reset with options('MTurkR.logdir')
. This function reads the locally stored MTurkR log file (‘MTurkRlog.tsv’) into R as a data frame. This is useful for error checking and reviewing prior requests.
A data frame containing details of previous (logged) MTurk API requests (including RequestId, Operation performed, REST query parameters, and MTurk response XML as a character string).
Thomas J. Leeper
1 2 3 4 | ## Not run:
log <- readlogfile()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.