tcpDownload: Download TCP files from Github

Description Usage Arguments To download the entire TCP corpus Examples

View source: R/tcpDownload.R

Description

Download raw XML files from the Text Creation Partnership's Github repository.

Usage

1
tcpDownload(results)

Arguments

results

A dataframe, usually the search results generated using searchTCP. Must contain a column of TCP numbers with the name 'TCP'.

To download the entire TCP corpus

If you'd like to download the entire TCP corpus, run two commands:

  1. data(tcp) (Activates the TCP data in your R environment.)

  2. tcpDownload(tcp) (Begins the download.)

Be careful: the entire TCP is several GBs, so the download will take awhile.

Examples

1
tcpDownload(results)

michaelgavin/tei2r documentation built on May 22, 2019, 9:50 p.m.