upload_odkc_csv_attachment: Upload the new CSV created as a form attachment See reference...

View source: R/query_odkapi.R

upload_odkc_csv_attachmentR Documentation

Upload the new CSV created as a form attachment See reference ODK API documentation in https://odkcentral.docs.apiary.io/#reference/forms/draft-form/uploading-a-draft-form-attachment for more details.

Description

Upload the new CSV created as a form attachment See reference ODK API documentation in https://odkcentral.docs.apiary.io/#reference/forms/draft-form/uploading-a-draft-form-attachment for more details.

Usage

upload_odkc_csv_attachment(un, pw, form_url, csv_path)

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".

csv_path

string containing the path to the CSV file to attach to the form.

Value

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


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