POST data to a WAStD API serializer in chunks
wastd_chunk_post(
data,
serializer,
query = list(),
chunksize = 1000,
encode = "json",
api_url = wastdr::get_wastdr_api_url(),
api_token = wastdr::get_wastdr_api_token(),
verbose = wastdr::get_wastdr_verbose()
)
Data to post to the serializer
A WAStD API serializer, e.g. "encounters"
An optional query for wastd_POST
,
default: list()
.
The number of records to post at a time, default: 1000.
The parameter encode
for link{httr::POST}
,
default: "json".
Other options: c("multipart", "form", "json", "raw")
.
(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()
The wastd_api_response
of the last batch of data.
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_create_update_skip()
,
wastd_parse()
,
wastd_post_one()
if (FALSE) {
# ODKC data as WAStD data, chunk_post
}