#' manifestoR R package
#'
#' Access and process data and documents of the Manifesto Project
#' \tabular{ll}{
#' Package: \tab manifestoR\cr
#' Type: \tab Package\cr
#' License: \tab GPL (>= 3)\cr
#' LazyLoad: \tab yes\cr
#'}
#'
#' @name manifestoR
#' @docType package
#' @title Access and process data and documents of the Manifesto Project
#' @description Provides access to coded election programmes from the Manifesto
#' Corpus and to the Manifesto Project's Main Dataset and routines to analyse this
#' data. The Manifesto Project \url{https://manifesto-project.wzb.eu} collects and
#' analyses election programmes across time and space to measure the political
#' preferences of parties. The Manifesto Corpus contains the collected and
#' annotated election programmes in the Corpus format of the package 'tm' to enable
#' easy use of text processing and text mining functionality. Specific functions
#' for scaling of coded political texts are included.
#' @author Jirka Lewandowski \email{jirka.lewandowski@@wzb.eu}
#' @seealso
#' Useful links:
#' \itemize{
#' \item \url{https://manifesto-project.wzb.eu}: additional tutorials, documentation, data, and election programmes
#' \item \url{https://github.com/ManifestoProject/manifestoR}: manifestoR on GitHub
#' \item Report bugs at \url{https://github.com/ManifestoProject/manifestoR/issues}
#' }
#'
#' @importFrom utils head tail
#' @import zoo
#' @importFrom psych fa
#' @import NLP
#' @import tibble
#' @import dplyr
#' @import functional
#' @import tm
#' @import jsonlite
NULL
## A fix to let CRAN check NOTEs diasappear for non-standard-evaluation used
## cf. http://stackoverflow.com/questions/9439256/how-can-i-handle-r-cmd-check-no-visible-binding-for-global-variable-notes-when
globalVariables(c("one_of", ".", "matches", "starts_with", "contains", # dplyr
"manifesto_id", "country", "party", "edate", "per0", # general dataset
"md5sum_text.x", "md5sum_text.y", "code", "manifestos", # & metadata & api download
"download", "url_original", "is_primary_doc", "originals",
"name", "tag", # metadata versions
"the_score", "leadedate", "leglength", "countryname", "w", "p", # scaling
"p_lead", "p_lag", "lrcorescores", # median_voter_single
"position", "voteshare", "cumvoteshare",
"above50", "contains_median", "leftbound", "rightbound",
"min_divers", "max_divers", "nicheness", "min_nic", ## nicheness
"max_nic", "specialization", "min_spec", "max_spec",
"specialization_stand", "specialization_stand_two", "nicheness_stand",
"tmp_mp_clarity_sum", "data_2", "score" # clarity measure
))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.