Package: smartmap 0.1.1.9002

smartmap: 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'.

Authors:Stefan Fleck [aut, cre]

smartmap_0.1.1.9002.tar.gz
smartmap_0.1.1.9002.zip(r-4.5)smartmap_0.1.1.9002.zip(r-4.4)smartmap_0.1.1.9002.zip(r-4.3)
smartmap_0.1.1.9002.tgz(r-4.4-any)smartmap_0.1.1.9002.tgz(r-4.3-any)
smartmap_0.1.1.9002.tar.gz(r-4.5-noble)smartmap_0.1.1.9002.tar.gz(r-4.4-noble)
smartmap_0.1.1.9002.tgz(r-4.4-emscripten)smartmap_0.1.1.9002.tgz(r-4.3-emscripten)
smartmap.pdf |smartmap.html
smartmap/json (API)

# Install 'smartmap' in R:
install.packages('smartmap', repos = c('https://s-fleck.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/s-fleck/smartmap/issues

On CRAN:

7 exports 0.62 score 56 dependencies 5 scripts 105 downloads

Last updated 3 years agofrom:5846c920bf. Checks:ERROR: 1 WARNING: 6. Indexed: yes.

TargetResultDate
Doc / VignettesFAILSep 02 2024
R-4.5-winWARNINGSep 02 2024
R-4.5-linuxWARNINGSep 02 2024
R-4.4-winWARNINGSep 02 2024
R-4.4-macWARNINGSep 02 2024
R-4.3-winWARNINGSep 02 2024
R-4.3-macWARNINGSep 02 2024

Exports:as_coord_matrixcoord_matrixsmapsmart_as_sfst_as_sfst_as_sfcunsf

Dependencies:base64encbslibcachemclassclassIntclicolorspacecrosstalkDBIdigeste1071evaluatefarverfastmapfontawesomefsgluehighrhtmltoolshtmlwidgetsjquerylibjsonliteKernSmoothknitrlabelinglatticelazyevalleafletleaflet.providerslifecyclemagrittrMASSmemoisemimemunsellpngproxyR6rappdirsrasterRColorBrewerRcpprlangrmarkdowns2sassscalessfspterratinytexunitsviridisLitewkxfunyaml

Readme and manuals

Help Manual

Help pageTopics
Coerce an R object to a matrix of coordinatesas_coord_matrix as_coord_matrix.data.frame as_coord_matrix.default as_coord_matrix.matrix as_coord_matrix.numeric as_coord_matrix.sf as_coord_matrix.sfc_POINT coord_matrix
View spatial objects as interactive leaflet mapssmap smap.default smap.leaflet smap.matrix smap.sf smap.sfc smap.sfg
Smartly convert an object to a simple features data framesmart_as_sf smart_as_sf.character smart_as_sf.data.frame smart_as_sf.default
Convert coordinate matrices to sf objectsst_as_sf st_as_sf.coord_matrix
Convert coordinate matrices to sfc objectsst_as_sfc st_as_sfc.coord_matrix
Convert sf objects to normal data.frames with longitude and latitude colu,nsunsf