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:
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')) |
Bug tracker:https://gitlab.com/hrbrmstr/statebins
- state_tbl - "State" abbreviation to name data frame
Last updated 4 years agofrom:da22fb7a95. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Aug 15 2024 |
R-4.5-win | OK | Aug 15 2024 |
R-4.5-linux | OK | Aug 15 2024 |
R-4.4-win | OK | Aug 15 2024 |
R-4.4-mac | OK | Aug 15 2024 |
R-4.3-win | OK | Aug 15 2024 |
R-4.3-mac | OK | Aug 15 2024 |
Exports:geom_statebinsGeomStatebinsstatebinstheme_statebins
Dependencies:clicolorspacefansifarverggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigR6RColorBrewerrlangscalestibbleutf8vctrsviridisLitewithr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Create United States Uniform Cartogram Heatmaps | statebins-package |
A statebins Geom | GeomStatebins geom_statebins |
"State" abbreviation to name data frame | state_tbl |
Create a new ggplot-based "statebin" chart for USA states/territories | statebins |
Base statebins theme | theme_statebins |