Skip to content

statebins

1.4.0

Create United States Uniform Cartogram Heatmaps

2packages depend
12.4Kdownloads / year
48.7%test coverage
8/13checks pass

Overview

About
Maintained by Bob RudisFirst published 2014-08-273 releasesCRAN page ↗GitLab ↗

The 'cartogram' heatmaps generated by the included methods are an alternative to choropleth maps for the United States and are based on work by the Washington Post graphics department in their report on "The states most threatened by trade" (http://www.washingtonpost.com/wp-srv/special/business/states-most-threatened-by-trade/). "State bins" preserve as much of the geographic placement of the states as possible but have the look and feel of a traditional heatmap. Functions are provided that allow for use of a binned, discrete scale, a continuous scale or manually specified colors depending on what is needed for the underlying data.

Install

Health

CRAN checks
5NOTE8OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
  • NOTE r-devel-linux-x86_64-fedora-clang
  • NOTE r-devel-linux-x86_64-fedora-gcc
  • NOTE r-devel-windows-x86_64
Slowest check: 1.6 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.01
48.7%
Coverage · measured lines
100%
Documentation · exports
3
Dependencies · direct
Check history
  • NOTE2026-07-16
    11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
50%
Documented parameters
63%
Return-value docs
33%
References docs
0%

Downloads

12.4K
CRAN downloads in the past year
Rank #4,536 · ~34/day · ~1K/mo
Daily download trend is not available in this view yet.
49530 days
1.7K90 days
12.4K1 year
Compare downloads with other packages →
Also on259 r2u28 autocran825 conda_forge155 c2d4u

Repository

Repository practices

Upstream repositoryBeta

Repository gitlab.com/hrbrmstr/statebins is linked, but repository-practices checks have not run for it yet. Checks are GitHub-only for now.

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

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5.0
Imports (3)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
2direct
0indirect

Code & Tests

Datasets

People & History

People (5)
Maintainer (1)
Author, Maintainer · added in 1.4.0
Authors (1)
Author, Maintainer · added in 1.4.0
Contributors (4)
Contributor · added in 1.4.0
Contributor · added in 1.4.0
Contributor · added in 1.4.0
Contributor · added in 1.4.0
Listed in earlier versions (1)
no longer listed · 1.0 to 1.2.2
Package Timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • 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
  • 1.4.0Latest
    2020-07-09 · current release · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • 1.2.2
    2015-12-21 · diff ↗
  • R
    R 3.2.0 released · 2015-04-16
  • 1.0
    2014-08-27
  • R
    R 3.1.0 released · 2014-04-10

Package metadata

First published
2014-08-27
Total releases
3 / 12 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.5.0
Bundled data
0.7 KB / 1 file
Download size
858 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("statebins")
Rudis, B., Adams, B., Gil, H., Kiang, M., & Wood, T. (2020). statebins: Create United States Uniform Cartogram Heatmaps (Version 1.4.0) [Computer software]. https://doi.org/10.32614/CRAN.package.statebins

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 statebins version 1.4.0 [Data set]. HJJB, LLC. Data release v2026-08-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-23, 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