View source: R/upload_odkc_to_wastd.R
upload_odkc_to_wastd | R Documentation |
Encounters and their related observations are uploaded to WAStD:
upload_odkc_to_wastd( data, update_existing = FALSE, up_media = TRUE, api_url = wastdr::get_wastdr_api_url(), api_token = wastdr::get_wastdr_api_token(), verbose = wastdr::get_wastdr_verbose() )
data |
ODKC data transformed into WAStD format and split into create, update, skip. |
update_existing |
Whether to update existing but unchanged records in WAStD Default: FALSE. |
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() |
upload_media |
Whether to upload media files.
Default: |
api_un |
(character) A WAStD API username,
default |
api_pw |
(character) A WAStD API password,
default |
New encounters will be created
Existing but unchanged (status=new) encounters will be updated
if update_existing=TRUE
, else skipped.
Existing and value-added encounters (status > new) will be skipped.s
A list of results from wastdr::wastd_create_update_skip
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.