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.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.30 score 4 packages 336 scripts 909 downloads 4 exports 28 dependencies

Last updated 4 years agofrom:da22fb7a95. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 13 2024
R-4.5-winOKNov 13 2024
R-4.5-linuxOKNov 13 2024
R-4.4-winOKNov 13 2024
R-4.4-macOKNov 13 2024
R-4.3-winOKNov 13 2024
R-4.3-macOKNov 13 2024

Exports:geom_statebinsGeomStatebinsstatebinstheme_statebins

Dependencies:clicolorspacefansifarverggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigR6RColorBrewerrlangscalestibbleutf8vctrsviridisLitewithr