import-from-epicollect-project
Description
import-from-epicollect-project
adaptor retrieves data collected in an Epicollect project where each row is a collected entry and each column is a data field.
Inputs
url
Type: text
Required: Yes
The URL of the Epicollect5 project to be imported (e.g., https://five.epicollect.net/project/ec5-demo-project).
client id
Type: text
Required: No
The Epicollect5 Client ID to access private projects. Not required for public projects.
client secret
Type: text
Required: No
The Epicollect5 Client Secret to access private projects. Not required for public projects.
map index
Type: text
Required: No
The index of the mapping to use when importing the data. If unspecified, the default mapping is used.
Outputs
data
Type: datatable
A datatable containing the project entries.
Examples
Example 1: Default behaviour.
Inputs:
url:
https://five.epicollect.net/project/mr-demo
client id:
null (empty)
client secret:
null (empty)
map index:
null (empty)
Outputs:
data
:
ab13ca80-0363-11ed-8cfe-d7b5b6bd3730
2022-07-14T10:56:52.521Z
Sample A
4.642276772
-8.17536836
ce24ca61-1463-11ed-8cfe-d7b5b6bd3730
2022-07-14T10:56:52.521Z
Sample B
5.063345736
-9.051186684
ah56ga85-2563-11ed-8cfe-d7b5b6bd3730
2022-07-14T10:56:52.521Z
Sample C
5.063345736
-9.051186684
-> Imported data from a public Epicollect project into Data-flo.
Example 2: Import a private Epicollect project.
Inputs:
url:
https://five.epicollect.net/project/private-demo
client id:
123456
client secret:
7891011
map index:
null (empty)
Outputs:
data
:
ab13ca80-0363-11ed-8cfe-d7b5b6bd3730
2022-07-14T10:56:52.521Z
Sample A
4.642276772
-8.17536836
ce24ca61-1463-11ed-8cfe-d7b5b6bd3730
2022-07-14T10:56:52.521Z
Sample B
5.063345736
-9.051186684
ah56ga85-2563-11ed-8cfe-d7b5b6bd3730
2022-07-14T10:56:52.521Z
Sample C
5.063345736
-9.051186684
-> Imported data from a private Epicollect project into Data-flo.
Last updated