epubr: Read EPUB File Metadata and Text

Provides functions supporting the reading and parsing of internal e-book content from EPUB files. The 'epubr' package provides functions supporting the reading and parsing of internal e-book content from EPUB files. E-book metadata and text content are parsed separately and joined together in a tidy, nested tibble data frame. E-book formatting is not completely standardized across all literature. It can be challenging to curate parsed e-book content across an arbitrary collection of e-books perfectly and in completely general form, to yield a singular, consistently formatted output. Many EPUB files do not even contain all the same pieces of information in their respective metadata. EPUB file parsing functionality in this package is intended for relatively general application to arbitrary EPUB e-books. However, poorly formatted e-books or e-books with highly uncommon formatting may not work with this package. There may even be cases where an EPUB file has DRM or some other property that makes it impossible to read with 'epubr'. Text is read 'as is' for the most part. The only nominal changes are minor substitutions, for example curly quotes changed to straight quotes. Substantive changes are expected to be performed subsequently by the user as part of their text analysis. Additional text cleaning can be performed at the user's discretion, such as with functions from packages like 'tm' or 'qdap'.

Version: 0.6.5
Imports: xml2, xslt, magrittr, tibble, dplyr, tidyr
Suggests: testthat, knitr, rmarkdown, readr
Published: 2024-09-11
DOI: 10.32614/CRAN.package.epubr
Author: Matthew Leonawicz ORCID iD [aut, cre]
Maintainer: Matthew Leonawicz <rpkgs at pm.me>
BugReports: https://github.com/ropensci/epubr/issues
License: MIT + file LICENSE
URL: https://docs.ropensci.org/epubr/, https://github.com/ropensci/epubr
NeedsCompilation: no
Materials: README NEWS
CRAN checks: epubr results

Documentation:

Reference manual: epubr.pdf
Vignettes: Introduction to epubr (source, R code)

Downloads:

Package source: epubr_0.6.5.tar.gz
Windows binaries: r-devel: epubr_0.6.5.zip, r-release: epubr_0.6.5.zip, r-oldrel: epubr_0.6.5.zip
macOS binaries: r-release (arm64): epubr_0.6.5.tgz, r-oldrel (arm64): epubr_0.6.5.tgz, r-release (x86_64): epubr_0.6.5.tgz, r-oldrel (x86_64): epubr_0.6.5.tgz
Old sources: epubr archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=epubr to link to this page.