The geojsonR package includes functions for processing GeoJson objects relying on RFC 7946. The geojson encoding is based on json11, a tiny JSON library for C++11. Furthermore, the source code is exported in R through the Rcpp and RcppArmadillo packages. More details on the functionality of geojsonR can be found in the blog-post and in the package Vignette.

To install the package from CRAN use,


and to download the latest version from Github use the install_github function of the remotes package,


Use the following link to report bugs/issues,

Try the geojsonR package in your browser

Any scripts or data that you put into this service are public.

geojsonR documentation built on May 4, 2021, 9:06 a.m.