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:
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')) |
Bug tracker:https://github.com/s-fleck/smartmap/issues
Last updated 3 years agofrom:5846c920bf. Checks:ERROR: 1 WARNING: 6. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | FAIL | Nov 01 2024 |
R-4.5-win | WARNING | Nov 01 2024 |
R-4.5-linux | WARNING | Nov 01 2024 |
R-4.4-win | WARNING | Nov 01 2024 |
R-4.4-mac | WARNING | Nov 01 2024 |
R-4.3-win | WARNING | Nov 01 2024 |
R-4.3-mac | WARNING | Nov 01 2024 |
Exports:as_coord_matrixcoord_matrixsmapsmart_as_sfst_as_sfst_as_sfcunsf
Dependencies:base64encbslibcachemclassclassIntclicolorspacecrosstalkDBIdigeste1071evaluatefarverfastmapfontawesomefsgluehighrhtmltoolshtmlwidgetsjquerylibjsonliteKernSmoothknitrlabelinglatticelazyevalleafletleaflet.providerslifecyclemagrittrMASSmemoisemimemunsellpngproxyR6rappdirsrasterRColorBrewerRcpprlangrmarkdowns2sassscalessfspterratinytexunitsviridisLitewkxfunyaml
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Coerce an R object to a matrix of coordinates | as_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 maps | smap smap.default smap.leaflet smap.matrix smap.sf smap.sfc smap.sfg |
Smartly convert an object to a simple features data frame | smart_as_sf smart_as_sf.character smart_as_sf.data.frame smart_as_sf.default |
Convert coordinate matrices to sf objects | st_as_sf st_as_sf.coord_matrix |
Convert coordinate matrices to sfc objects | st_as_sfc st_as_sfc.coord_matrix |
Convert sf objects to normal data.frames with longitude and latitude colu,ns | unsf |