View source: R/mermaid_import_bulk_submit.R
mermaid_import_bulk_submit | R Documentation |
Bulk submit validated records in Collecting for a given project. Only submits records that have successfully validated without ANY errors or warnings. To be used after mermaid_import_project_data
and mermaid_import_bulk_validate
.
mermaid_import_bulk_submit(project, token = mermaid_token())
project |
A way to identify the project(s). Can be project IDs (passed as a character vector directly) or projects resulting from |
token |
API token. Authenticate manually via |
## Not run:
p <- mermaid_get_my_projects() %>%
head(1)
p %>%
mermaid_import_bulk_validate()
# 43 records being validated...
# ✖ 27 records produced errors in validation
# • 13 records produced warnings in validation
# ✔ 3 records successfully validated without warnings or errors
p %>%
mermaid_import_bulk_submit()
# 3 records being submitted...
# ✔ 3 records successfully submitted
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.