OpenDataKit

Events happening in the community are now at Drupal community events on www.drupal.org.
naught101's picture

Anyone seen http://opendatakit.org ?
Allows you to create xml forms, and fill them out on an android smart phone. The data can then be sent to any server. The project has software for building forms (web-based), filling them out (android app), and a sever for data collection.

Data can include photos, geo-locations, text, selects, email addresses, etc. The forms are pretty customisable, and it seems easy to make optional and repeatable components (eg. for a family survey, add as many "children" form components made up of other form components as you need).

Seems that this kind of data would be relatively easy to push into CCK, if you had it available. I'm wondering how hard it would be to create a ODK-CCK bridge, to allow node creation with appropriate fields, on receiving data from android... The ODK is modular, designed to allow switching out of different components (eg. the data server), so it might even be possible to just build a module that accepts the data and pumps it into a node, without even requiring the ODK server.

Food for thought.

Comments

Interesting

chachasikes's picture

I'll have to check this out. I want to make an open data workbook install (in drupal)

ODK Initial research

mackh's picture

Hey y'all

I did some research into ODK a couple months ago, its working pretty well out of the box. We didn't connect it to drupal but it seems like it would be possible to pull the data in from the server.

Opendata kit is an open source framework which is based on a server centric model. This model gives us a reliable data quality on the server side. The server interface for defining the forms is slick and flexible,

http://code.google.com/p/opendatakit/ - Watch this video to understand what the Open Data Kit can do out of the box. It records user form input which is controlled on the server side, and geo data. You can create any number of forms, and can create conditional forms.

Here's how data types are defined in ODK http://earth.google.com/outreach/tutorial_odk_gettingstarted.html

There are a number of open source servers which we can use as an endpoint for the device data.
From reading the FAQ, looks like there is some work in the community to provide a direct drupal integration.
(ODK FAQ http://code.google.com/p/opendatakit/source/browse/FrequentlyAskedQuesti...)

The main server is called ODK Aggregate, from the FAQ link - "ODK Aggregate currently supports passing data to [http://docs.google.com Google Spreadsheets], [http://tables.googlelabs.com/Home?pli=1 Google Fusion Tables] and [http://www.rhizalabs.com/products/insight/overview/ Rhiza Insight]."

An the example app is available
http://code.google.com/p/opendatakit/wiki/ODKClinic

Check out the ODK Manage on the android for defining forms from the device.

Happy to help figure this out
-M

Anyone else?

criznach's picture

Has anyone else been working on this?

I've done some work based on niccolo's post above. I'm using the fetcher (modified to handle media files). I am not using the ODK parser above. I am currently using the XPath parser and a custom after_parse hook to modify any fields mapped to imagefield or taxonomy fields. I'm thinking about creating a parser on top of the XPath parser, specifically for ODK, that is smart enough to automatically convert values based on field types as needed. For example, taxonomy terms are split on spaces into multiple terms for node_save, image and file paths are automatically updated to a full path for filefield/imagefield import.

Any interest? Anyone else having any success?

Oh yeah, and...

criznach's picture

It would also be useful to build a forms publisher that automatically creates forms based on specified content types. This could create an end-to-end solution that doesn't require any coding in many cases.

I'm about to jump back in here

mackh's picture

Hows it going criznach? I'm about to get back into this, have been working on getting data from Cybertracker into drupal, now back after ODK. I'm going to test out Alex's feed parser and see how that goes.

Also does anyone know if you ODK will recored a GPS waypoint set as part of the form? Thinking I might need to write a wrapper for ODK libs to track GPS session data.

checking this out....

Mumonkan's picture

i have a couple projects which i may want to use this combo; so found this thread. not a lot of action, looks like.

for what it is worth, i also found evidence of this company hooking up odk and d7. not sure if we can pry a module out of them or what. :) and some more info.

-jon

  • hookfoo : drupal module consultancy : portland oregon

I actually contacted this

owen barton's picture

I actually contacted this company (WebFirst) a little under a year ago, asking if they would be interested in open sourcing their ODK Drupal module (PhiCollect). The response was "We do not release the source code - we may change the model in the future.".

Jon - please let us know the response if you reach out. If they are open to reconsidering or just discussing the benefits/risks of open source I would be happy to help.

I found this site

tinem's picture

I found this site http://bitgriff.blogspot.ru/2013/02/drupal-with-android-integration-make... a couple of days ago and maybe it will interest some of you.

Step by Step guide for importing ODK data into Drupal 7

rsutaria's picture

Just finished writing a step by step guide for automatically importing ODK data (collected via the ODK Collect forms on Android) - and importing that data into Drupal, using the Feeds module:

https://medium.com/what-i-learned-building/850ec2fdbc78

This provides a bridge between the powerful Android mobile data collection platform and the flexibility of Drupal in processing and building workflows out of that Data.

Access to guide

yfarooq's picture

Hi Rsutaria,

The link above is not working, can you please share the document again.

Thanks

OpenData Working Group

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week