Extract question/answer TEXT with R

More
2 months 1 week ago #157430 by mascarpone
mascarpone created the topic: Extract question/answer TEXT with R
Hi Folks,

A colleague of mine is trying to read data with the following script:

get_session_key(username=getOption("lime_username"),password=getOption("lime_password"))
survey_df<-call_limer(method='list_surveys')

print(survey_df)
data<- get_responses(iSurveyID= 918155, sLanguageCode= '', sResponseType='short')

That is returning question/answer codes it seems. How can he get text instead?

Thanks!
The following user(s) said Thank You: alkhshbi

Please Log in to join the conversation.

More
2 months 1 week ago #157433 by tpartner
tpartner replied the topic: Extract question/answer TEXT with R
Just a guess, but try:

print(survey_df)
data<- get_responses(iSurveyID= 918155, sLanguageCode= '', sResponseType='long')

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: alkhshbi

Please Log in to join the conversation.

More
2 months 1 week ago #157434 by alkhshbi
alkhshbi replied the topic: Extract question/answer TEXT with R
Thank you very much Tony & Sam.

It worked.
Amazing

Please Log in to join the conversation.

More
2 months 1 week ago #157435 by mascarpone
mascarpone replied the topic: Extract question/answer TEXT with R
Lol nice one - thanks a lot! :)

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now