- Posts: 129
- Thank you received: 6
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Extract question/answer TEXT with R
- mascarpone
- Topic Author
- Offline
- Premium Member
Less
More
6 years 8 months ago #157430
by mascarpone
Extract question/answer TEXT with R was created by mascarpone
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!
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
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10098
- Thank you received: 3589
6 years 8 months ago #157433
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Extract question/answer TEXT with R
Just a guess, but try:
Code:
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
The topic has been locked.
- alkhshbi
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
6 years 8 months ago #157434
by alkhshbi
Replied by alkhshbi on topic Extract question/answer TEXT with R
Thank you very much Tony & Sam.
It worked.
Amazing
It worked.
Amazing
The topic has been locked.
- mascarpone
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 129
- Thank you received: 6
6 years 8 months ago #157435
by mascarpone
Replied by mascarpone on topic Extract question/answer TEXT with R
Lol nice one - thanks a lot!
The topic has been locked.