formr has a specific module for randomisation. After connecting using formr_connect() you can download the assigned random groups and merge them with your data.

formr_shuffled(run_name, host = "https://formr.org")

Arguments

run_name

case-sensitive name of the run in which you randomised participants

host

defaults to https://formr.org

Examples

if (FALSE) { formr_connect(email = 'you@example.net', password = 'zebrafinch' ) formr_shuffled(run_name = 'different_drills' ) }