document_append_from_html | R Documentation |
Append a html document (e.g., generated from quarto) to an RSpace structured document. This function retrieves the current document, and adds text to fields specified by h2 html headers.
document_append_from_html(
path,
existing_document_id,
tags = NULL,
attachments = NULL,
allow_missing_fields = FALSE,
api_key = get_api_key()
)
path |
html document to upload |
existing_document_id |
document identifier of the current RSpace document. |
tags |
vector of tags to apply to the document (will include "rspacer" by default) |
attachments |
attachments to attach to the fields in tibble/data.frame form (one attachment per row), e.g., |
allow_missing_fields |
Specify if a mismatch in fields is allowed.
If this is |
api_key |
RSpace API key |
Invisible JSON response from the API.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.