Thanks for this wroos
@dickoa I have been investigating the issue further. Given that it was a long form I found a misplaced bracket â)â in the names column in the choices sheet. I removed it and redeployed the xlsform but still canât get the data.
@Sticks that part is normal, itâs because the package loads all the version of the forms by default.
Can you try with all_version
set to FALSE
.
kobo_data(uid, all_version = FALSE)
If itâs working, I can push a fix. Can you share the choice with the misplaced bracket ?
For those who continue to struggle with the labels on data imported via robotoolbox package, a simple fix is to first load the data as usualâŚ
#import data from Kobo
data_eng â kobo_asset(âxxxxxxxxxxxxxxxxxxxxâ)
data_eng â kobo_data(data_eng, lang = âEnglishâ)
#install âlabelledâ package
install.packages(âlabelledâ)
library(labelled)
load the data with labels
data_eng_labelled â to_factor(data_eng)
Hope this is helpful.