as_eml_xml | R Documentation |
xml_document
Takes a character
vector, tibble, or list
and converts it to an
xml_document
, as defined by the xml2
package. When converting from
a list, this is simply a wrapper for xml2::as_xml_document()
.
as_eml_xml(x, ...)
## S3 method for class 'tbl_lp'
as_eml_xml(x, ...)
## S3 method for class 'tbl_df'
as_eml_xml(x, ...)
## S3 method for class 'list'
as_eml_xml(x, ...)
## S3 method for class 'xml_document'
as_eml_xml(x, ...)
x |
Object to be converted. |
... |
Other arguments, currently ignored. |
An xml_document
with the specified nodes and attributes.
source_file <- system.file("extdata",
"bionet_metadata.Rmd",
package = "delma")
df <- read_md(source_file)
as_eml_list(df) |> str()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.