read_pagexml | R Documentation |
Import Page-XML file as a data.frame. Examples where this can be used is for importing page-xml files from Transkribus
read_pagexml(x, type = c("transkribus"), ...)
x |
path to the xml file |
type |
character string with the type of xml structure. Defaults to 'transkribus' and is currently the only option. |
... |
further arguments currently not used |
a data.frame with columns file, id, coords and baseline
the function only handles single-page XML's
f <- system.file(package = "madoc.utils", "extdata", "pagexml-example.xml") x <- read_pagexml(f) f <- system.file(package = "madoc.utils", "extdata", "multiregion-page.xml") x <- read_pagexml(f)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.