View source: R/wastd_create_update_skip.R
wastd_create_update_skip | R Documentation |
Handles empty data, verbose notifications.
wastd_create_update_skip( data_create, data_update, data_skip, update_existing = FALSE, label = "records", serializer = "encounters", chunksize = 1000, api_url = wastdr::get_wastdr_api_url(), api_token = wastdr::get_wastdr_api_token(), verbose = wastdr::get_wastdr_verbose() )
data_create |
Records to create. |
data_update |
Records to update. |
data_skip |
Records to skip. |
update_existing |
Whether to update existing but unchanged records in WAStD. Default: FALSE. |
label |
The model label for verbose messages, default: |
serializer |
The WAStD API serializer, default: |
chunksize |
The number of records to post at a time, default: 1000. |
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() |
A list of three objects:
created
The WAStD API response for all created records
updated
The WAStD API response for all updated records
skipped
The original records for all skipped records
Other api:
build_auth()
,
download_minimal_wastd_turtledata()
,
download_wastd_sites()
,
download_wastd_turtledata()
,
download_wastd_users()
,
export_wastd_turtledata()
,
filter_wastd_turtledata_area()
,
filter_wastd_turtledata_seasons()
,
filter_wastd_turtledata()
,
handle_http_status()
,
wastd_GET()
,
wastd_POST()
,
wastd_bulk_post()
,
wastd_chunk_post()
,
wastd_parse()
,
wastd_post_one()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.