R/wastd_create_update_skip.R
wastd_create_update_skip.Rd
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()
)
Records to create.
Records to update.
Records to skip.
Whether to update existing but unchanged records in WAStD. Default: FALSE.
The model label for verbose messages, default: records
.
The WAStD API serializer, default: encounters
.
The number of records to post at a time, default: 1000.
(character) The WAStD API URL,
default get_wastdr_api_url
, see wastdr_setup
(character) The WAStD API token,
default get_wastdr_api_token
, see wastdr_setup
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()