8000 GitHub - luishernando/tmap: R package for thematic maps
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

luishernando/tmap

 
 

Repository files navigation

tmap: thematic maps in R

Build Status AppVeyor Build Status<!---Coverage Status---> License CRAN Downloads

tmap is an actively maintained open-source R-library for drawing thematic maps, written by Martijn Tennekes. The API is based on A Layered Grammar of Graphics by Hadley Wickham and resembles the syntax of ggplot2, a popular R-library for drawing charts.

Classic World Map Bubble Map Bubble Map World facets US Choropleth US Choropleth London Crimes London Crimes London Crimes London Crimes

Installation

tmap is available on CRAN (the latest version is 1.11, published on 2017-11-24). Installation is straightforward:

install.packages("tmap")

However, for some operating systems require additional libraries. The installation procedure is as follows:

Windows No additional installation required.

Linux (Ubuntu) See installation script.

macOS See http://www.kyngchaos.com

Development

The latest development version can be installed using devtools. In order to use the development version of tmap, it is recommended to use the development version of tmaptools as well (see tmaptools)

library(devtools)
install_github("mtennekes/tmaptools")
install_github("mtennekes/tmap")

See NEWS for the latest features and improvements and the issue list for discussions of enhancements and bugs.

Do you want to help with the development of the package? Please let me know! Any feedback, requests, tips, or bug reports are welcome!

Usage

library(tmap)

Vignettes and Examples

tmap in a nutshell

tmap modes: plot and interactive view

Example 1: Metropolitan Areas

Example 2: Classic World Map

Example 3: Two World Views

Example 4: Obesity in the United States

Example 5: Crimes in Greater London

Presentations

Other resources

Getting help

There are two main places to get help with tmap:

  1. stackoverflow is a great source of answers to common tmap questions. It is also a great place to get help, once you have created a reproducible example that illustrates your problem. Please tag your questions with tmap.
  2. If you have a request or if think your problem is caused by a bug, please open an issue, preferably with are reproducible example.

About

R package for thematic maps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 99.9%
  • Shell 0.1%
0