Description What it does Author(s)
The tei2r package imports collections of plain-text or TEI-encoded
files into the R environment and makes them available for quantitative
analysis.
The basic purpose of the tei2r package is to help users get their
TEI-encoded files into R. It is specifically designed for use with files
generated by the Text Creation Partnership, providing easy access to
thousands of early modern and eighteenth-century texts.
For a tutorial that walks through the basics, check out the introductory vignette, "Introduction: Getting Started with tei2r."
Basic operations:
buildDocList: Represents your collection of documents
cleanup: Normalizes TEI texts to vectors of character data
importTexts: Moves texts into R
Getting Started:
tcpSearch: Search the TCP index
tcpDownload: Download files from the TCP's Git repository
Sample Data:
natlaw: A collection of 33 documents related to 17th-cent
political theory. (From EEBO-TCP)
richardson: The novels of Samuel Richardson. (From ECCO-TCP)
Authors: Michael Gavin and Travis Mullen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.