Skip to content

Instantly share code, notes, and snippets.

View mirko77's full-sized avatar

ParanoidAndroid mirko77

View GitHub Profile
@mirko77
mirko77 / epicollect5-api-example.r
Last active June 5, 2022 00:59
Fetch data from Epicollect5 API using R
library(httr)
library(jsonlite) # if needing json format
cID<-"999" # client ID
secret<- "F00HaHa00G" # client secret
proj.slug<- "YourProjectSlug" # project slug
form.ref<- "YourFormRef" # form reference
branch.ref<- "YourFromRef+BranchExtension" # branch reference
res <- POST("https://five.epicollect.net/api/oauth/token",
@mirko77
mirko77 / address-example.json
Created January 18, 2018 10:01
Epicollect5 connected dropdown with jumps
{
"data": {
"id": "0de0f531f7fb475487d5a71ce4174153",
"type": "project",
"project": {
"ref": "0de0f531f7fb475487d5a71ce4174153",
"name": "Address Example",
"slug": "address-example",
"forms": [
{