Retrieving data from ODK Aggregate with R

Hello all,

I am trying to programmatically download data from ODK Aggregate using API
calls from R. I am new to ODK and would really appreciate your help.

I am using the following code:

library(httr)
GET("https://******.appspot.com/Aggregate.html#submissions/filter///",authenticate("","***********"))

I know this is not an R-users forum, but if anyone has experience doing
this, it would be really helpful!

Regards,
Jithin

ODK Aggregate uses Digest Auth for authentication.
You probably need to set some configuration in R to use that? Or it might
not be supported?

To access the data, you will want to use the same API as ODK Briefcase
uses.
See https://github.com/opendatakit/opendatakit/wiki/Briefcase-Aggregate-API

··· On Thu, Oct 6, 2016 at 9:06 AM, Jithin Sam Varghese <j.samvarghese@gmail.com wrote:

Hello all,

I am trying to programmatically download data from ODK Aggregate using API
calls from R. I am new to ODK and would really appreciate your help.

I am using the following code:

library(httr)
GET("https://******.appspot.com/Aggregate.html#
submissions/filter///",authenticate("
","***********"))

I know this is not an R-users forum, but if anyone has experience doing
this, it would be really helpful!

Regards,
Jithin

--
You received this message because you are subscribed to the Google Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

quinta-feira, 6 de Outubro de 2016 às 18:06:15 UTC+2, Jithin Sam Varghese escreveu:

Hello all,

I am trying to programmatically download data from ODK Aggregate using API calls from R. I am new to ODK and would really appreciate your help.

I am using the following code:

library(httr)
GET("https://******.appspot.com/Aggregate.html#submissions/filter///",authenticate("","***********"))

I know this is not an R-users forum, but if anyone has experience doing this, it would be really helpful!

Regards,
Jithin

Hello Jithin,

I use RMySQL library to connect directly to the database.
take a look at this: