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:

4 exports 1.36 score 28 dependencies 3 dependents 294 scripts 704 downloads

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

TargetResultDate
Doc / VignettesOKAug 15 2024
R-4.5-winOKAug 15 2024
R-4.5-linuxOKAug 15 2024
R-4.4-winOKAug 15 2024
R-4.4-macOKAug 15 2024
R-4.3-winOKAug 15 2024
R-4.3-macOKAug 15 2024

Exports:geom_statebinsGeomStatebinsstatebinstheme_statebins

Dependencies:clicolorspacefansifarverggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigR6RColorBrewerrlangscalestibbleutf8vctrsviridisLitewithr