Skip to content

amerika

0.1.1

American Politics-Inspired Color Palette Generator

2packages depend
4.8Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Philip WaggonerFirst published 2019-05-032 releasesCRAN page ↗GitHub ↗

A color palette generator inspired by American politics, with colors ranging from blue on the left to gray in the middle and red on the right. A variety of palettes allow for a range of applications from brief discrete scales (e.g., three colors for Democrats, Independents, and Republicans) to continuous interpolated arrays including dozens of shades graded from blue (left) to red (right). This package greatly benefitted from building on the source code (with permission) from Ram and Wickham (2015).

Install

Health

CRAN checks
13OK
Slowest check: 47 s · r-devel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
0
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 368 wordsVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
50%
References docs
33%

Downloads

4.8K
CRAN downloads in the past year
Rank #11,173 · ~13/day · ~403/mo
Daily download trend is not available in this view yet.
26430 days
88790 days
4.8K1 year
Compare downloads with other packages →
Also on126 r2u25 autocran

Repository

Repository
7Stars
0Forks
0Open issues
0Open PRs
0Releases
54Commits
1Contributors
colorpalette-generationvisualizationr
License MIT · 54 commits · Last activity 2025-04-29

Stars over time

2025-01-08 · 72026-07-07 · 7

Repository practices

Upstream repositoryBeta

Checks run against github.com/pdwaggoner/amerika on 2026-08-23.

No development-tooling practices detected in the upstream repository.

How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
0 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (0)
none
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
2direct
0indirect

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

2 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.1Latest
    2025-04-29 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 0.1.0
    2019-05-03
  • R
    R 3.6.0 released · 2019-04-26

Package metadata

First published
2019-05-03
Total releases
2 / 7 yrs
License
MIT + file LICENSE OSI
Download size
4.2 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("amerika")
Waggoner, P. (2025). amerika: American Politics-Inspired Color Palette Generator (Version 0.1.1) [Computer software]. https://doi.org/10.32614/CRAN.package.amerika

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for amerika version 0.1.1 [Data set]. HJJB, LLC. Data release v2026-08-26. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy