There won't be any more development on this project. It is feature complete from my perspective. Thank you all who have used and contributed to this project.
The goal of tilegramsR package is to provide R spatial objects in sf format representing various Tilegrams. The primary purpose of this data is to be used for data visualization. The objects provided can be plotted using base R plotting, ggplot2, or leaflet.
To know more about Tilegrams see this post and a this web app.
install.packages('tilegramsR')
OR Latest Development version
devtools::install_github('bhaskarvk/tilegramsR')Check out inst\examples folder, or see it in action at Rpubs: tilegramsR and Rpubs: Election Map.
The package provides spatial objects in sf format.
- sf_Pitch_US_Population_2016_v1: A
sfobject where each feature = 500K people - sf_Pitch_US_Population_2016_v1.states: A
sfobject where each feature = 1 state of the U.S.A - sf_Pitch_US_Population_2016_v1.centers: A
sfobject of centroids of each state of the U.S.A.
- sf_germany_constituencies: A
sfobject where each feature is a German Constituency - sf_germany_constituencies.centers: A
sfobject of centroids of each German Constituency
- sf_france_regions_population: A
sfobject of French regions - sf_france_regions_population.regions: A
sfobject of boundaries of French regions - sf_france_regions_population.centers: A
sfobject of centroids of each French region - sf_france_all_regions_population: A
sfobject of French Regions including overseas regions - sf_france_all_regions_population.regions: A
sfobject of boundaries of all French regions - sf_france_all_regions_population.centers: A
sfobject of centroids of each French Region including overseas regions - sf_france_departments: A
sfobject of French departments - sf_france_departments.centers: A
sfobject of centroids of each French department
- sf_FiveThirtyEightElectoralCollege: A
sfobject where each feature = 1 electoral college - sf_FiveThirtyEightElectoralCollege.states: A
sfobject where each feature = 1 state of the U.S.A - sf_FiveThirtyEightElectoralCollege.centers: A
sfobject of centroids of each state of the U.S.A.
- sf_NPR1to1: A
sfobject where each feature = 1 state of the U.S.A - sf_NPR1to1.centers: A
sfobject of centroids of each state of the U.S.A.
- sf_NPR.DemersCartogram: A
sfobject where each feature = 1 state of the U.S.A - sf_NPR.DemersCartogram.centers: A
sfobject of centroids of each state of the U.S.A.
- sf_DKOS_50_State_OuterHex_Tilemap_v1: A
sfobject where each feature = 1 state of the U.S.A - sf_DKOS_50_State_InnerHex_Tilemap_v1: A
sfobject where each feature = 1 state of the U.S.A - sf_DKOS_50_State_Hex_Tilemap_v1.centers: A
sfobject of centroids of each state of the U.S.A.
- sf_DKOS_CD_Hexmap_v1.1: A
sfobject where each feature = 1 congressional District - sf_DKOS_CD_Hexmap_v1.1.states: A
sfobject where each feature = 1 state of the U.S.A - sf_DKOS_CD_Hexmap_v1.1.centers: A
sfobject of centroids of each state of the U.S.A.
- sf_DKOS_Electoral_College_Map_v1: A
sfobject where each feature = 1 electoral college - sf_DKOS_Electoral_College_Map_v1.states: A
sfobject where each feature = 1 state of the U.S.A - sf_DKOS_Electoral_College_Map_v1.centers: A
sfobject of centroids of each state of the U.S.A.
- sf_DKOS_Distorted_Electoral_College_Map_v1: A
sfobject where each feature = 1 state of the U.S.A - sf_DKOS_Distorted_Electoral_College_Map_v1.centers: A
sfobject of centroids of each state of the U.S.A.
- sf_WP: A
sfobject where each feature = 1 state of the U.S.A - sf_WP.centers: A
sfobject of centroids of each state of the U.S.A.
- sf_WSJ: A
sfobject where each feature = 1 state of the U.S.A - sf_WSJ.centers: A
sfobject of centroids of each state of the U.S.A.
- sf_Datamap.io.tilegram: A
sfobject where each feature = 1 state of the U.S.A - sf_Datamap.io.tilegram.centers: A
sfobject of centroids of each state of the U.S.A.
As and when newer Tilegrams are made available they will be added to this package.
- Pitch Interactive for the excellent Tilegrams webapp and population tilegram.
- Daniel Donner of Daily KOS for Tilegrams.
- Ella Koeze for fivethirtyeight[.]com Tilegrams.
- Danny DeBelius & Brian Boyer for NPR's Hexagon Tilegrams.
- NPR Demers Cartogram
- Washington Post Tilegram
- Wall Street Journal Tilegram
- Datamap.io Tilegram
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.