Dear All,
I wrote a django-admin command that accesses variables of all participants from one of my apps, selects some of them randomly (it is basically the payment randomization at the end of the experiment), and exports them to a csv.
I can run it with python manage.py my-command-name and it works with the test sessions on the development server perfectly.
Is there a way to run this command similarly to access participant variables from the Heroku database? The closest I could get is to open a one-off dyno with heroku run bash -a my-app-name, and run the command there. It created the csv but I don't know how to download/save the csv to my local repository.
Thank you very much!
Best,
Luca