Description Usage Arguments Details Examples
Objects of this class are returned by mp_corpus
.
1 | ManifestoCorpus(csource = ManifestoJSONSource())
|
csource |
a |
A tm
Corpus
storing ManifestoDocuments
For usage and structure of the stored documents see
ManifestoDocument
.
1 | ## Not run: corpus <- mp_corpus(subset(mp_maindataset(), countryname == "Russia"))
|
Loading required package: NLP
Loading required package: tm
Loading required package: dplyr
Attaching package: ‘dplyr’
The following objects are masked from ‘package:stats’:
filter, lag
The following objects are masked from ‘package:base’:
intersect, setdiff, setequal, union
Loading required package: tibble
When publishing work using the Manifesto Corpus, please make sure to cite it correctly and to give the identification number of the corpus version used for your analysis.
You can print citation and version information with the function mp_cite().
Note that some of the scaling/analysis algorithms provided with this package were conceptually developed by authors referenced in the respective function documentation. Please also reference them when using these algorithms.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.