View source: R/upload_surveys.R
| upload_surveys | R Documentation | 
Upload a tibble of Surveys to WAStD
upload_surveys( x, api_url = wastdr::get_wastdr_api_url(), api_token = wastdr::get_wastdr_api_token(), verbose = wastdr::get_wastdr_verbose() )
| x | A tibble of Surveys, e.g. the output of
 | 
| api_url | (character) The WAStD API URL,
default  | 
| api_token | (character) The WAStD API token,
default  | 
| verbose | Whether to show debug messages. Default: wastdr::get_wastdr_verbose() | 
| api_un | (character) A WAStD API username,
default  | 
| api_pw | (character) A WAStD API password,
default  | 
WAStD's MediaAttachment endpoint uses a plain ModelViewSet and cannot handle multiple uploads. This function therefore uploads records individually. If a file does not exist locally, the record is skipped and a warning is emitted.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.