quanteda / quanteda.corpora

A collection of corpora for quanteda
18 stars 5 forks source link
quanteda text-analysis

CRAN status Travis build status

Corpora for quanteda

Package to provide easy access to large corpora for quanteda.

How to Install

You can download the files and build the package from source, or you can use the devtools library to install the package directly from GitHub. This is done as follows:

devtools::install_github("quanteda/quanteda.corpora")

Available corpora

Corpora contained in the package are the following:

Corpus Name
Amicus curiae briefs from Bakke (1978) and Bollinger (2008) data_corpus_amicus
Annual budget speeches from the Irish Dáil, 2008-2012 data_corpus_irishbudgets
UK news articles from 2014 that mention immigration data_corpus_immigrationnews
Movie reviews from Pang, Lee, and Vaithyanathan (2002) moved to quanteda.textmodels
US State of the Union addresses from 1790 to present data_corpus_sotu
UK political party manifestos, 1945-2005 data_corpus_ukmanifestos
UN General Debate speeches, 2017 data_corpus_ungd2017
Universal Declaration of Human Rights in 464 languages data_corpus_udhr

Larger corpora are also available from online locations using download():

Corpus Name
Guardian newspaper articles in politics, economy, society and international sections from 2012 to 2016 data_corpus_guardian
Transcripts of speeches at Japan's Committee on Foreign Affairs and Defense of the lower house (Shugiin) from 1947 to 2017 data_corpus_foreignaffairscommittee