Exporting Kobo data to R as numerals and not character

Hi all, I would like to export my kobo data to R. However, it is all character (Yes, Yes, No, No) and I would like it to be Numerals (1,1,0,0). How do I do this?


Can you share a snippet of code in order to understand how you do it?


1 Like

Hi, I don’t have code or anything. I just download the XLS dataset directly from KOBO and save it on my computer. Then go to R and import the XLS dataset. However I cannot do any analysis because the imported dataset is all character and no numerals.