Description Usage Arguments Details Value See Also Examples
Preview the first n characters of each EPUB e-book section.
epub_head(x, n = 50)
a data frame returned by
integer, first n characters to retain from each e-book section.
This function returns a simplified data frame of only the unnested
text columns of a data frame returned by
epub, with the text included only up to the first
This is useful for previewing the opening text of each e-book section to inspect for possible useful regular expression patterns to use for text-based section identification.
For example, an e-book may not have meaningful section IDs that distinguish one type of book section from another, such as chapters from non-chapter sections,
but the text itself may contain this information at or near the start of a section.
a data frame.
file <- system.file("dracula.epub", package = "epubr") epub_head(file)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.