Using Tilegrams in R

The goal of tilegramsR is to provide R spatial objects representing Tilegrams. The primary purpose of this data is for plotting either using base plotting, ggplot2 or leaflet. To know more about Tilegrams see this post and a this web app.

Usage

Installation

install.packages('tilegramsR')

#OR Latest Development version

devtools::install_github('bhaskarvk/tilegramsR')

Example Code

Check out inst\examples folder, or see it in action at Rpubs: tilegramsR and Rpubs: Election Map.

Data

The package provides spatial objects in sf format.

Pitch Interactive Tilegrams

U.S.A
Germany
France

fivethirtyeight's Electoral College Tilegram

NPR

Hexagon Tilegram
NPR.DemersCartogram

Daily KOS

Dual Hexagon Tilegram
Congressional Districts Tilegram
Electoral College Tilegram
Distorted Electoral College Tilegram

Washington Post Tilegram

Wall Street Journal Tilegram

Datamap.io.tilegram

As and when newer Tilegrams are made available they will be added to this package.

Credits



Try the tilegramsR package in your browser

Any scripts or data that you put into this service are public.

tilegramsR documentation built on May 1, 2019, 9:15 p.m.