Package: geojsonio 0.11.3.9000

Michael Mahoney

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

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

geojsonio_0.11.3.9000.tar.gz
geojsonio_0.11.3.9000.zip(r-4.5)geojsonio_0.11.3.9000.zip(r-4.4)geojsonio_0.11.3.9000.zip(r-4.3)
geojsonio_0.11.3.9000.tgz(r-4.4-any)geojsonio_0.11.3.9000.tgz(r-4.3-any)
geojsonio_0.11.3.9000.tar.gz(r-4.5-noble)geojsonio_0.11.3.9000.tar.gz(r-4.4-noble)
geojsonio_0.11.3.9000.tgz(r-4.4-emscripten)geojsonio_0.11.3.9000.tgz(r-4.3-emscripten)
geojsonio.pdf |geojsonio.html
geojsonio/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/ropensci/geojsonio/issues

Datasets:
  • canada_cities - This is the same data set from the maps library, named differently
  • states - This is the same data set from the ggplot2 library
  • us_cities - This is the same data set from the maps library, named differently

On CRAN:

geojsontopojsongeospatialconversiondatainput-outputio

10.81 score 150 stars 12 packages 3.0k scripts 5.3k downloads 24 exports 56 dependencies

Last updated 1 years agofrom:7e4cc683ed (on main). Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 28 2024
R-4.5-winOKOct 28 2024
R-4.5-linuxOKOct 28 2024
R-4.4-winOKOct 28 2024
R-4.4-macOKOct 28 2024
R-4.3-winOKOct 28 2024
R-4.3-macOKOct 28 2024

Exports:%>%as.jsonas.locationboundscentroidfile_to_geojsongeo2topogeojson_atomizegeojson_jsongeojson_listgeojson_readgeojson_sfgeojson_spgeojson_stylegeojson_writemap_gistmap_leafprettyprojectionstopo2geotopojson_jsontopojson_listtopojson_readtopojson_write

Dependencies:bitbit64classclassIntclicliprcpp11crayoncrulcurlDBIe1071fansigeojsongeojsonsfgeometriesgluehmshttpcodejqrjsonifyjsonliteKernSmoothlatticelazyevallifecyclemagrittrMASSmimepillarpkgconfigprettyunitsprogressprotoliteproxyR6rapidjsonrRcppreadrrlangs2sfsfheaderssptibbletidyselecttriebeardtzdbunitsurltoolsutf8V8vctrsvroomwithrwk

Readme and manuals

Help Manual

Help pageTopics
Convert inputs to JSONas.json
Convert a path or URL to a location object.as.location
Get bounds for a list or geo_listbounds
This is the same data set from the maps library, named differentlycanada_cities
Get centroid for a geo_listcentroid
Convert spatial data files to GeoJSON from various formats.file_to_geojson
GeoJSON to TopoJSON and backgeo2topo topo2geo
Atomizegeojson_atomize
Convert many input types with spatial data to geojson specified as a json stringgeojson_json
Convert many input types with spatial data to geojson specified as a listgeojson_list
Read geojson or other formats from a local file or a URLgeojson_read
Convert objects to an sf classgeojson_sf
Convert objects to spatial classesgeojson_sp
Style a data.frame or list prior to converting to geojsongeojson_style
Convert many input types with spatial data to a geojson filegeojson_write
Add together geo_list or json objects+.geo_list +.json geojson-add
*I/O for GeoJSON*geojsonio-package geojsonio
Publish an interactive map as a GitHub gistmap_gist
Make an interactive map locallymap_leaf
PostGIS setuppostgis
Convert json input to pretty printed outputpretty
topojson projections and extensionsprojections
This is the same data set from the ggplot2 librarystates
Convert many input types with spatial data to TopoJSON as a JSON stringtopojson_json
Convert many input types with spatial data to TopoJSON as a listtopojson_list
Read topojson from a local file or a URLtopojson_read
Write TopoJSON from various inputstopojson_write
This is the same data set from the maps library, named differentlyus_cities