Skip to content
This repository has been archived by the owner on Feb 24, 2018. It is now read-only.

Commit

Permalink
Created datatypes.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanathan committed Jun 14, 2013
1 parent d0bbb55 commit 34f9027
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
Binary file removed assets/img/collect_image.png
Binary file not shown.
26 changes: 26 additions & 0 deletions datatypes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
For those of you coming from paper surveys, you will appreciate that Android smartphones can help us collect “new” kinds of data, like GPS co-ordinates, images, audio, video, and information encoded in barcodes and QR codes. For now, we’ll introduce you to two of these question types: ‘geopoint’ and ‘image’.


**geopoint** - Collect GPS coordinates.

**image** - Take a photograph.

Let’s collect the gps coordinates and a picture of the household using the following XLSform. To make this tutorial easier to read we will switch from the Excel file screenshots to a tabular notation.


Excel 'survey' worksheet

| type | name | label |
| ---- | ---- | ----- |
| text | interviewer | A.1.0 Interviewer name |
| integer | hh_id | A.1.1 Enter the household number |
| geopoint | hh_location | A.1.2 Collect the GPS coordinates of this household |
| image | hh_photo | A.1.3 Take a picture of the structure where the household lives |
| text | respondent_name | A.1.4 Enter the full name of the respondent |
| integer | respondent_age | A.1.5 Enter the age of the respondent |

Notice how the Excel ‘a_worksheet_name’ worksheet preceding the table specifies on which worksheet of the workbook we are working on (we have been working on the Excel ‘survey’ worksheet for now but other worksheets will be added as we develop a more advanced survey).

![geopoint](/assets/img/collect_geopoint.png)

![capture image](/assets/img/collect_image.png)

0 comments on commit 34f9027

Please sign in to comment.