Convert Data from and to 'GeoJSON' or 'TopoJSON'

Convert data to 'GeoJSON' or 'TopoJSON' from various R classes, including vectors, lists, data frames, shape files, and spatial classes. 'geojsonio' does not aim to replace packages like 'sp', 'rgdal', 'rgeos', but rather aims to be a high level client to simplify conversions of data from and to 'GeoJSON' and 'TopoJSON'.


Reference manual

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

install.packages("geojsonio")

0.11.3 by Michael Mahoney, 3 years ago


https://github.com/ropensci/geojsonio, https://docs.ropensci.org/geojsonio/


Report a bug at https://github.com/ropensci/geojsonio/issues


Browse source code at https://github.com/cran/geojsonio


Authors: Scott Chamberlain [aut] , Andy Teucher [aut] , Michael Mahoney [aut, cre]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports crul, geojson, geojsonsf, jqr, jsonlite, magrittr, methods, readr, sf, sp, V8

Suggests covr, DBI, gistr, leaflet, maps, RPostgres, testthat, withr

Enhances RColorBrewer


Imported by antaresViz, appeears, geeLite, rmapzen, spectralR, tabs, valhallr.

Depended on by webglobe.

Suggested by StratifiedSampling, csdata, highcharter, land4health, leaftime, rgee, rtemis, vchartr.

Enhanced by leafpm, mapedit, repr.


See at CRAN