read_alto | R Documentation |
Import Alto-XML file as a data.frame. Examples where this can be used is for importing alto-xml files from Transkribus
read_alto(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
the function only handles single-page XML's
f <- system.file(package = "madoc.utils", "extdata", "alto-example.xml") x <- read_alto(f) f <- system.file(package = "madoc.utils", "extdata", "altoxml-example.xml") x <- read_alto(f) f <- system.file(package = "madoc.utils", "extdata", "multiregion-alto.xml") x <- read_alto(f)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.