create_odkc_draft_form: Create an ODK Central draft form See reference ODK API...

View source: R/query_odkapi.R

create_odkc_draft_formR Documentation

Create an ODK Central draft form See reference ODK API documentation in https://odkcentral.docs.apiary.io/#reference/forms/draft-form/creating-a-draft-form for more details.

Description

Create an ODK Central draft form See reference ODK API documentation in https://odkcentral.docs.apiary.io/#reference/forms/draft-form/creating-a-draft-form for more details.

Usage

create_odkc_draft_form(un, pw, form_url)

Arguments

un

string containing the ODK Central username.

pw

string containing the password for user 'un'.

form_url

string containing the URL of the ODK Central form to be published, e.g. "https://sandbox.central.getodk.org/v1/projects/project-id/forms/form-id".

Value

This function returns the content of the request to the ODK Central API.


Thaliehln/timci documentation built on April 8, 2024, 3:38 p.m.