Package: statebins 1.4.0

statebins: Create United States Uniform Cartogram Heatmaps

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.

Authors:Bob Rudis [aut, cre], Harold Gil [ctb], Brian Adams [ctb], Thomas Wood [ctb], Mathew Kiang [ctb]

statebins_1.4.0.tar.gz
statebins_1.4.0.zip(r-4.5)statebins_1.4.0.zip(r-4.4)statebins_1.4.0.zip(r-4.3)
statebins_1.4.0.tgz(r-4.5-any)statebins_1.4.0.tgz(r-4.4-any)statebins_1.4.0.tgz(r-4.3-any)
statebins_1.4.0.tar.gz(r-4.5-noble)statebins_1.4.0.tar.gz(r-4.4-noble)
statebins_1.4.0.tgz(r-4.4-emscripten)statebins_1.4.0.tgz(r-4.3-emscripten)
statebins.pdf |statebins.html
statebins/json (API)

# Install 'statebins' in R:
install.packages('statebins', repos = c('https://hrbrmstr.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://gitlab.com/hrbrmstr/statebins

Datasets:
  • state_tbl - "State" abbreviation to name data frame

On CRAN:

5.42 score 5 packages 354 scripts 836 downloads 4 exports 28 dependencies

Last updated 5 years agofrom:da22fb7a95. Checks:8 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKFeb 11 2025
R-4.5-winOKFeb 11 2025
R-4.5-macOKFeb 11 2025
R-4.5-linuxOKFeb 11 2025
R-4.4-winOKFeb 11 2025
R-4.4-macOKFeb 11 2025
R-4.3-winOKFeb 11 2025
R-4.3-macOKFeb 11 2025

Exports:geom_statebinsGeomStatebinsstatebinstheme_statebins

Dependencies:clicolorspacefansifarverggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigR6RColorBrewerrlangscalestibbleutf8vctrsviridisLitewithr