The goal of tilegramsR package is to provide R spatial objects in sf [@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 [@ggplot2], or leaflet [@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

References



bhaskarvk/tilegramsR documentation built on Oct. 3, 2021, 5:48 a.m.