upload_odkc_csv_attachment | R 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.
upload_odkc_csv_attachment(un, pw, form_url, csv_path)
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. |
This function returns the response of the request to the ODK Central API.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.