doi:10.1177/1354068818820671> and Bederke, Döring, and Regel (2023) <doi:10.7910/DVN/TJINLQ>.">

partycoloR: Extract Party Colors and Logos from Wikipedia (original) (raw)

Extract political party colors and logos from English Wikipedia party pages. Provides functions to scrape party infoboxes for color codes (HEX or HTML color names) and logo images. Includes integration with the Party Facts database for easy party lookups. Designed for political scientists and party researchers working with electoral and party data. For Party Facts, see Döring and Regel (2019) <doi:10.1177/1354068818820671> and Bederke, Döring, and Regel (2023) <doi:10.7910/DVN/TJINLQ>.

Version: 0.2.0
Depends: R (≥ 4.1.0)
Imports: httr (≥ 1.4.0), rvest (≥ 1.0.0), xml2 (≥ 1.3.0), purrr (≥ 0.3.0), stringr (≥ 1.4.0), tibble (≥ 3.0.0), rlang (≥ 0.4.0), curl (≥ 4.0)
Suggests: testthat (≥ 3.0.0), knitr, rmarkdown, ggplot2, scales, dplyr, tidyr
Published: 2026-01-27
DOI: 10.32614/CRAN.package.partycoloR
Author: Lukas Warode [aut, cre]
Maintainer: Lukas Warode <lukas.warode at gmx.de>
BugReports: https://github.com/lwarode/partycoloR/issues
License: GPL-3
URL: https://github.com/lwarode/partycoloR
NeedsCompilation: no
Citation: partycoloR citation info
Materials: README, NEWS
CRAN checks: partycoloR results

Documentation:

Downloads:

Linking:

Please use the canonical formhttps://CRAN.R-project.org/package=partycoloRto link to this page.