How do i download data with the code not the label?

my question is
I have a question like

gender? (question type select one)
Male
Female
Others

when I download the submitted responses in xls gender column should come in numeric type (male-1, female-2, others-3)

how can I do this in kobocollect?

In general, if you download your dataset with the following settings:

You should be able to see the data in the following structure in your dataset:

But, if you download your dataset with the following settings:

You should be able to see the data in the following structure in your dataset:

So downloading your data with the second option should solve your issue.

1 Like