The goal of tilegramsR package is to provide R spatial objects in sf (Pebesma 2016) 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 (Wickham 2016), or leaflet (Cheng, Karambelkar, and Xie 2017).
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 object where each feature = 500K peoplesf object where each feature = 1 state of the U.S.Asf object of centroids of each state of the U.S.A.sf object where each feature is a German Constituencysf object of centroids of each German Constituencysf object of French regionssf object of boundaries of French regionssf object of centroids of each French regionsf object of French Regions including overseas regionssf object of boundaries of all French regionssf object of centroids of each French Region including overseas regionssf object of French departmentssf object of centroids of each French departmentsf object where each feature = 1 electoral collegesf object where each feature = 1 state of the U.S.Asf object of centroids of each state of the U.S.A.sf object where each feature = 1 state of the U.S.Asf object where each feature = 1 state of the U.S.Asf object of centroids of each state of the U.S.A.sf object where each feature = 1 congressional Districtsf object where each feature = 1 state of the U.S.Asf object of centroids of each state of the U.S.A.sf object where each feature = 1 electoral collegesf object where each feature = 1 state of the U.S.Asf object of centroids of each state of the U.S.A.sf object where each feature = 1 state of the U.S.Asf object of centroids of each state of the U.S.A.Cheng, Joe, Bhaskar Karambelkar, and Yihui Xie. 2017. Leaflet: Create Interactive Web Maps with the Javascript ’Leaflet’ Library. http://rstudio.github.io/leaflet/.
Pebesma, Edzer. 2016. Sf: Simple Features for R. https://github.com/edzer/sfr/.
Wickham, Hadley. 2016. Ggplot2: Elegant Graphics for Data Analysis. Springer-Verlag New York. http://ggplot2.org.