- Posts: 113
- Thank you received: 46
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Using RemoteControl in R and reading data from limesurvey into R
- fransmarcelissen
- Topic Author
- Offline
- Premium Member
Less
More
8 years 6 months ago - 8 years 6 months ago #126324
by fransmarcelissen
Using RemoteControl in R and reading data from limesurvey into R was created by fransmarcelissen
Hello,
Limesurvey is a fantastic program and R is the best statistical program there is. But I do'nt like exporting using the R export module. Fortunately it is extremely simple in R to read data directly from limesurvey, using RemoteControl 2 and the wonderful limer package made by Andrew Heiss. Here attached is an example.
Success!
Frans
Limesurvey is a fantastic program and R is the best statistical program there is. But I do'nt like exporting using the R export module. Fortunately it is extremely simple in R to read data directly from limesurvey, using RemoteControl 2 and the wonderful limer package made by Andrew Heiss. Here attached is an example.
Success!
Frans
Attachments:
Last edit: 8 years 6 months ago by fransmarcelissen.
The following user(s) said Thank You: Ben_V
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13597
- Thank you received: 2487
8 years 6 months ago #126334
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Using RemoteControl in R and reading data from limesurvey into R
Hey !
Seems VERY COOL !
It's great if you can take time to update our manual for this : manual.limesurvey.org/RemoteControl_2_API
And maybe put a link to github.com/andrewheiss/limer ;)
Seems VERY COOL !
It's great if you can take time to update our manual for this : manual.limesurvey.org/RemoteControl_2_API
And maybe put a link to github.com/andrewheiss/limer ;)
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- fransmarcelissen
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 113
- Thank you received: 46
8 years 6 months ago #126339
by fransmarcelissen
Replied by fransmarcelissen on topic Using RemoteControl in R and reading data from limesurvey into R
Hi Denis,
I have sent the file to info@limesurvey.org with request to add this to the manual. The link is in the tekst.
I hope it is usefull to many people.
Frans
I have sent the file to info@limesurvey.org with request to add this to the manual. The link is in the tekst.
I hope it is usefull to many people.
Frans
The following user(s) said Thank You: YacineH
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13597
- Thank you received: 2487
8 years 6 months ago #126340
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Using RemoteControl in R and reading data from limesurvey into R
Hi fransmarcelissen,
T
Our manual is a wiki, we already have some work with debugging/patching/improve. It's best if you can update the manul.
I udpdate it : manual.limesurvey.org/RemoteControl_2_API#R_example_and_helper but know nothing of R ....
T
Our manual is a wiki, we already have some work with debugging/patching/improve. It's best if you can update the manul.
I udpdate it : manual.limesurvey.org/RemoteControl_2_API#R_example_and_helper but know nothing of R ....
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- first
- Offline
- Elite Member
Less
More
- Posts: 227
- Thank you received: 36
8 years 1 week ago #134117
by first
Survey Designer and Programmer
Replied by first on topic Using RemoteControl in R and reading data from limesurvey into R
Survey Designer and Programmer
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
7 years 10 months ago #137474
by jelo
Anyone currently using limer.
A connection with LS 2.06LTS via R is resulting in
"Argument 'txt' must be a JSON string, URL or file."" at get_session.
A RPC-JSON access to the same installation via other code (e.g. C#) is working fine.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Using RemoteControl in R and reading data from limesurvey into R
Is now redirecting to github.com/cloudyr/limer .DenisChenu wrote: And maybe put a link to github.com/andrewheiss/limer ;)
Anyone currently using limer.
A connection with LS 2.06LTS via R is resulting in
"Argument 'txt' must be a JSON string, URL or file."" at get_session.
A RPC-JSON access to the same installation via other code (e.g. C#) is working fine.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13597
- Thank you received: 2487
7 years 10 months ago #137495
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Using RemoteControl in R and reading data from limesurvey into R
I see in
github.com/cloudyr/limer/issues/11
you spoke for https : did you force https in LS admin part ?
Denis
Denis
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- fransmarcelissen
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 113
- Thank you received: 46
7 years 10 months ago #137500
by fransmarcelissen
Replied by fransmarcelissen on topic Using RemoteControl in R and reading data from limesurvey into R
I am using limer x times a day.
Installing in the following way works perfectly on my system. limer is now part of the (unfinished) cloudyr project. Limer is not fully stable, but can be used.
if (!require("devtools")) {
install.packages("devtools")
library("devtools")
}
install_github("cloudyr/limer")
The documentation on manual.limesurvey.org/RemoteControl_2_API has to be updated. I am willing to do this, but could anyone show me how I can do that? The example has to be updated as well.
Frans
Installing in the following way works perfectly on my system. limer is now part of the (unfinished) cloudyr project. Limer is not fully stable, but can be used.
if (!require("devtools")) {
install.packages("devtools")
library("devtools")
}
install_github("cloudyr/limer")
The documentation on manual.limesurvey.org/RemoteControl_2_API has to be updated. I am willing to do this, but could anyone show me how I can do that? The example has to be updated as well.
Frans
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
7 years 10 months ago #137504
by jelo
Since there is no issue when accessing it via C# I'm currently looking for issues in R.
E.g. the library R uses to access via TLS/SSL might have issues with certain ciphers.
Or a small glitch with the UTF8 handling.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Using RemoteControl in R and reading data from limesurvey into R
Agnostic setting: Don't enforce...DenisChenu wrote: did you force https in LS admin part ?
Since there is no issue when accessing it via C# I'm currently looking for issues in R.
E.g. the library R uses to access via TLS/SSL might have issues with certain ciphers.
Or a small glitch with the UTF8 handling.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
7 years 10 months ago #137507
by jelo
Since you still use the current package without a glitch can you tell us, what version of R is used?
Which OS? Linux,Mac or Windows?
Might be a problem with the OS in combination with R.
Thanks to both of you.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Using RemoteControl in R and reading data from limesurvey into R
The guide is fine. The current instructions on the WIKI are fine. The redirection to the new GITs is working.fransmarcelissen wrote: I am using limer x times a day.
Since you still use the current package without a glitch can you tell us, what version of R is used?
Which OS? Linux,Mac or Windows?
Might be a problem with the OS in combination with R.
Thanks to both of you.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
7 years 10 months ago - 7 years 10 months ago #137508
by jelo
manual.limesurvey.org/index.php?title=Sp...=RemoteControl+2+API
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Using RemoteControl in R and reading data from limesurvey into R
When you follow this link and log-in you should be able to edit pages.fransmarcelissen wrote: The documentation on manual.limesurvey.org/RemoteControl_2_API has to be updated. I am willing to do this, but could anyone show me how I can do that?
manual.limesurvey.org/index.php?title=Sp...=RemoteControl+2+API
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Attachments:
Last edit: 7 years 10 months ago by jelo.
The topic has been locked.
- fransmarcelissen
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 113
- Thank you received: 46
7 years 10 months ago #137509
by fransmarcelissen
Replied by fransmarcelissen on topic Using RemoteControl in R and reading data from limesurvey into R
I use windows 10 and ubuntu linux (several versions, for instance 14.4). I also use several versions of R (mostly 3.1.2). No problems experienced.
Could you please report more in detail where you recieve which error messages? Than I could try to replicate it.
The documentation has to be updated because the output type of the main routine (call_limer) whas changed by the author in the last version.
Frans
Could you please report more in detail where you recieve which error messages? Than I could try to replicate it.
The documentation has to be updated because the output type of the main routine (call_limer) whas changed by the author in the last version.
Frans
The topic has been locked.