Managing Submissions in Central

The most common way to use ODK Central is in conjunction with a data collection client, typically on a mobile device, such as ODK Collect. To do this, you will need to connect to it from your mobile device, after which you will be able to upload submissions back to Central.

ODK Central also bundles Enketo, which enables preview and submission of forms directly from a web browser. Please note that as with all ODK clients, Enketo does not always behave quite the same as Collect, or support the same features. Any authorized Web User may fill out a Form directly from the browser, as will be described in more detail below.

Finally, ODK Central offers Public Access Links. A Public Access Link grants anybody in possession of the link the ability to submit to a Form on your server. You can control whether each respondent can submit more than once, and revoke access from any Link at any time.

Submissions sent to Central are available to browse in a preview table, to connect directly to data analysis tools, and for download.

Direct Web Browser Submissions

Web Users who are Administrators, Project Managers, or Data Collectors can directly fill Forms in the web browser from the Central administration website. This functionality is provided by Enketo, which does not always behave quite the same as Collect, or support the same features.

../_images/new2.png

Administrators and Project Managers can begin a survey by going to the Submissions tab of the Form, and clicking on the New button next to the Submissions header. This will open a new tab which will load the Form in Enketo.

../_images/data-collector-form-listing.png

Data Collectors do not have access to the detailed Form management pages. Instead, they will find a Fill Form button next to the Form name in the list of Forms on the Project Overview page.

Accessing Submissions

To find the Form submissions page, first find the form in the Form listings page (‣ Forms) and click on it. You will be taken to the Form Overview page for that form. Click on the ‣ Submissions tab below the form name to find the submissions.

../_images/listing1.png

The table preview you see here will at first show you the first ten fields of your survey and their results, with the latest submissions shown closest to the top. Any downloadable files will appear with a green download link you can use to directly download that media attachment. The submission's instance ID will always be shown at the right side of this preview table.

If your form has more than ten fields, you can show more columns by accessing the Columns shown dropdown and checking the columns you wish to see. While the Columns shown pane is open, you can use the search box along its top to search for a particular column name if you have many.

In the State and actions column, you will see the current review state of each submission and the number of edits that have been made, if any. If a submission is missing expected media uploads, you will see a warning here. When you hover over a row (or tab to it with your keyboard) you will see controls in this column to edit the submission, or see more details about it. You can read more about review states and the submission detail page below.

You can limit the rows that appear by the submitter, the date, and the review status. These filter controls are available just above the submission table.

Any filter you apply to the submission table also applies to the download button. To work with your data, you can download it from Central. Right now, you can do this in one of two ways:

  1. The CSV Download option will get you a .zip file containing one or more .csv tables, along with any multimedia submitted to the form. This is a good option if you already have custom tools you wish to use, or you want to import it into an offline analysis tool like SPSS or Stata.

  2. The OData connector allows you connect a live representation of the data to OData-capable tools like Microsoft Power BI, Microsoft Excel, Tableau, and others. This option has some advantages: the data is transferred more richly to maintain more data format information, and the feed is always live, meaning any analysis or reports you perform in your tool over an OData connection can be easily refreshed as more submissions come in.

When the rows of the table have been filtered in any way, that filter also applies to the downloads. This makes it possible to download partial sections of your data at once.

Learn more about these options below:

Downloading submissions as CSVs

To download all submission data as .csv tables, click on the Download all # records button on the right side of the listing page:

../_images/download-button.png

If you have any row filters applied to the submission table, those filters will be applied to your download as well. You can use this to, for example, download only submissions from a particular month, or only approved submissions.

Export options

Once the download dialog opens, you'll be given some additional export options.

../_images/download-modal.png

Some of the options may be disabled if they do not apply to your data, or if they are not available due to features that you have enabled (such as managed encryption).

  • The option to split select multiple choices will create a new column in the export csv for each unique known value in each select multiple field. These columns then indicate whether each submission checked each option.

  • The remove group names option takes out the prefix usually added to groups in the header: so for example, meta-instanceID would become just instanceID.

  • Finally, the option to include previously deleted fields will include every known previously deleted field in any version of the Form in the export, along with any data found for those fields. See Updating Forms to a New Version for tips on updating a form without changing its fields.

Click on one of the format options on the right to start the download.

Once the .csv or .zip completes downloading, you will find one or more files when you extract it:

  • A root table .csv named after your Form title.

  • Join table .csv files representing any repeats you may have in your form, with join columns on the left of each table relating each row to its counterpart in the parent table. Each join table is named to reflect its relationship with the others. If there is only one .csv file, then your form has no repeats.

  • A folder named files which contains subfolders, each named after an instanceId of a submission. Each subfolder then contains a set of file attachments relating to that submission. If no files folder exists, then no multimedia attachments have been submitted to this form.

  • If you have enabled Client Audit Logging on your form, and log events have been submitted to the server, then you will find a file that ends with - audit.csv. This file combines all the logging data from all submissions to the form into a single table.

Tip

Excel will not import CSVs with Unicode characters like ã, ß, and 箸 correctly if you double-click the file or open it from the File menu. You must instead use Power Query. Go to the Data tab, and in the Get & Transform Data group, click From Text/CSV.

Rather than downloading CSVs manually, you can also connect Excel directly to Central via OData and get a live-updating spreadsheet with auto-detected data types and Unicode support.

Downloading submissions with Power BI or Excel

Tip

Power BI and Excel uses the same underlying technology (Power Query) to connect to Central's OData feed. Try both of the above resources to maximize your learning.

Central provides an OData feed that Power BI or Excel can use to easily download submissions into a dashboard for visualization or into a spreadsheet for analysis.

To download submissions with Power BI or Excel, follow these steps:

  1. Find a link to the OData feed by clicking on the Analyze via OData button on the right side of the Submissions page of your form.

  2. Start the Get OData feed action.

  • In Power BI, select the Home menu, then Get Data, then OData feed.

  • In Excel, select the Data menu, then Get Data, From Other Sources, then From OData Feed.

  1. Leave the feed type as Basic (not Advanced), then copy and paste in the link from Central and then select OK.

  2. Change the authentication type to Basic (not Anonymous), enter your Central email address and password, and then Connect.

  3. The Navigator window will now appear. Select Submissions, then Load.

Tip

If you are having trouble getting Power BI or Excel to connect, and especially if you see error messages about permissions or authentication, clear your cached permissions and try again.

Downloading submissions with Python, R, and more

If you use Python, we recommend pyODK for downloading submissions via an OData feed into Python. pyODK is the official Python client for Central and it makes common data analysis and workflow automation tasks simple.

If you use R, we recommend ruODK for downloading submissions via an OData feed into R. ruODK is developed and supported by ODK community members.

You can also access the OData feed yourself. The OData feed is an easily consumable JSON data format and offers a metadata schema, some filtering and paging options, and more. To learn more about the OData feed, click the API Access button or see the API documentation directly.

Accessing submission media from external tools

It can be tricky to access submission media files while using external tools like Power BI or Python for data analysis or visualization. Using an external tool to fetch submissions from Central does not mean it can or knows how to get associated images, video, and other media.

In the OData feed, you will see media files given by their filename. If you want, you can construct a link within your analysis tool that will download any media file with your web browser. You can do this by gluing together pieces of text into a URL. Often this gluing operation is called concat or concatenate. You'll need to make it look like this:

https://DOMAIN/#/dl/projects/PROJECTID/forms/FORMID/submissions/INSTANCEID/attachments/FILENAME

Where the uppercase words need to be replaced with the appropriate values. The easiest way to get the DOMAIN, PROJECTID, and FORMID is to open the Form in your web browser in the Central administration website and just copy the values you see there. The two web addresses are quite similar. Then you have to add the INSTANCEID and the FILENAME, both of which you can find in the OData data itself.

Here is an example of a completed address:

https://my.odk.server/#/dl/projects/1/forms/forest_survey/submissions/uuid:20bcee82-4a22-4381-a6aa-f926fc85fb22/attachments/my.file.mp3

This location is a web page that causes a web browser to download a file. It cannot be used directly to embed images or video on any website or application.

Submission Review States

As of version 1.2, Central allows Project Managers and Administrators to review submissions and assign them certain states. This feature lets you perform verification and follow-up data editing within Central itself, if you need this kind of a workflow. The available states are:

State

Assigned by

Description

Received

System

The default state for all incoming submissions, assigned automatically by Central

Edited

System

Automatically assigned by Central whenever a submission is edited by any user

Has Issues

User

Can be assigned by project staff if a submission has problems

Approved

User

Can be assigned by project staff to approve a submission

Rejected

User

Can be assigned by project staff to reject a submission

The Received and Edited states are automatically set by Central any time a submission is uploaded or edited. The other states are assigned by project staff. We suggest some meanings for these states above, but they don't cause anything to happen automatically. For example, rejected submissions will still be included in your data exports unless you filter them out yourself. So, you are free to use these states however you'd like.

Once submissions have been reviewed, the submission table download and the OData connection both allow submissions to be filtered by review state. This lets you, for example, download only all the approved submissions.

Submission Details

As of version 1.2, each submission has its own detail page which provides basic information about the submission, an activity history of action and discussion on that submission, and tools for updating the submission review state and data itself.

../_images/details.png

The title at the top is pulled from the instance_name if there is one, otherwise it will be the automatically assigned instanceID. We recommend you define an instance_name based on the data in each submission. This is especially important if you plan on using this page a lot, because it makes navigation much easier to have friendly names at the top of the page and in the web browser title and tab.

Basic detail can be found along the left. If there are expected media attachments for this submission, that status information will be provided.

The main activity feed on the right shows you the discussion and action history of the submission. Any review state changes, comments, and edits will appear here. At the top of the activity feed, you can Review a submission to assign a new review state, Edit the submission directly in your web browser, or type in the box to begin leaving a comment.

You can leave a note when you update the review state, to indicate why the decision is being made, or any other information you'd like saved.

Submission Editing

From the submission detail page you can press the Edit button to edit the submission in your web browser. When an edited submission is resubmitted, a new version of it is created, just like a form version. You will be able to see previous submission versions in a future version of Central.

Any time a user edits a submission, they will see a note when they are returned to the detail page suggesting that they leave a comment describing the edits they have made. This is optional but highly encouraged. In a future version of Central, greater detail will be automatically provided about the data values that were changed.

Finally, when edits are submitted, the submission review state will automatically be set to Edited, and (as of version 1.3) you will see the changes between versions in the Submission Detail activity feed. Please note that Central will show you the differences between versions, but it doesn't know the exact actions you took to cause those changes. Sometimes the differences shown are not the same as the actions taken, but the resulting data will appear exactly as edited.

../_images/diff.png

Did this page help you?

Selecting an option will open a 1-question survey

👍 Yes 👎 No