Description Usage Arguments Details See Also
After calling this function, go to each computer, start the web browser you use for experiments, and browse to <server IP>:<server port> /custom/seats . Then you can enter the computer's seat number.
1 | identify_seats(method = "IP", serve = TRUE)
|
method |
one of 'IP', 'cookie' or 'both'. See below. |
serve |
if TRUE, starts the |
Seat details are stored in a file betr-SEATS.txt, which is looked
for when ready
is called. The file can be created
manually - this function is just for convenience.
The file format is like:
1 2 3 4 | seat IP cookie
1 111.1.1.123 AFDJKLRE
2 111.1.1.124 REAJKJKL
...
|
Either IP or cookie may be NA. If the (default) IP method is used, seats will
be identified by IP address: this requires static IP addresses for your
clients. The cookie method sets a cookie named betr-seat
on the client
browser, which will only work on a per-browser basis. If method is 'both'
then both cookie and IP address will be used; if both cookie and IP address
match the seat file, betr will use the cookie.
Other development tools: experiment_data_frame
;
web_test
; write_data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.