https://github.com/timelyportfolio/mapshaper_htmlwidget
R htmlwidget for mapshaper
https://github.com/timelyportfolio/mapshaper_htmlwidget
Last synced: about 2 months ago
JSON representation
R htmlwidget for mapshaper
- Host: GitHub
- URL: https://github.com/timelyportfolio/mapshaper_htmlwidget
- Owner: timelyportfolio
- License: mit
- Created: 2015-08-09T19:21:20.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-08-15T16:28:21.000Z (over 9 years ago)
- Last Synced: 2025-02-01T21:05:43.607Z (2 months ago)
- Language: JavaScript
- Size: 809 KB
- Stars: 25
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - timelyportfolio/mapshaper_htmlwidget - R htmlwidget for mapshaper (JavaScript)
README
# R `htmlwidget` for mapshaper
[mapshaper](https://github.com/mbloch/mapshaper) is an incredibly powerful set of tools to simplify and edit maps from `Shapefile`, `geoJSON`, `TopoJSON`, and other file formats. This `htmlwidget` brings `mapshaper` to your `R` experience.
```r
#devtools::install_github("timelyportfolio/mapshaper_htmlwidget")library(mapshaperWidget)
library(tmap)
library(sp)data(World)
plot(World)mapshaper(World)
```
## To-do
- Hook it up to `Shiny` so the export result is returned to `R` or the hover info is provided to `R`.
- Separate JS dependencies, namespace css, and isolate components so that it will play nicely with other `htmlwidgets`