Smartly Create Maps from R Objects

Preview spatial data as 'leaflet' maps with minimal effort. smartmap is optimized for interactive use and distinguishes itself from similar packages because it does not need real spatial ('sp' or 'sf') objects an input; instead, it tries to automatically coerce everything that looks like spatial data to sf objects or leaflet maps. It - for example - supports direct mapping of: a vector containing a single coordinate pair, a two column matrix, a data.frame with longitude and latitude columns, or the path or URL to a (possibly compressed) 'shapefile'.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.1.1 by Stefan Fleck, 2 years ago

Browse source code at

Authors: Stefan Fleck [aut, cre]

Documentation:   PDF Manual  

MIT + file LICENSE license

Imports leaflet, magrittr, sf, utils

Suggests covr, testthat

See at CRAN