All Projects → ropensci → Geojsonio

ropensci / Geojsonio

Licence: other
Convert many data formats to & from GeoJSON & TopoJSON

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to Geojsonio

Lawn
⛔ ARCHIVED ⛔ turf.js R client
Stars: ✭ 57 (-56.82%)
Mutual labels:  geojson, r-package, rstats
Wellknown
WKT <-> GeoJSON
Stars: ✭ 15 (-88.64%)
Mutual labels:  geojson, r-package, rstats
Starters
R Package 📦 for initializing projects for various R activities 🔩
Stars: ✭ 111 (-15.91%)
Mutual labels:  r-package, rstats
Ssh
Native SSH client in R based on libssh
Stars: ✭ 111 (-15.91%)
Mutual labels:  r-package, rstats
Gramr
RStudio Addin, function, & shiny app for the write-good linter 📝
Stars: ✭ 116 (-12.12%)
Mutual labels:  r-package, rstats
Rorcid
A programmatic interface the Orcid.org API
Stars: ✭ 101 (-23.48%)
Mutual labels:  r-package, rstats
Pkgverse
📦🔭🌠 Create your own universe of packages à la tidyverse
Stars: ✭ 108 (-18.18%)
Mutual labels:  r-package, rstats
Umapr
UMAP dimensionality reduction in R
Stars: ✭ 115 (-12.88%)
Mutual labels:  r-package, rstats
Refmanager
R package RefManageR
Stars: ✭ 90 (-31.82%)
Mutual labels:  r-package, rstats
Datapackager
An R package to enable reproducible data processing, packaging and sharing.
Stars: ✭ 125 (-5.3%)
Mutual labels:  r-package, rstats
Roomba
General purpose API response tidier
Stars: ✭ 117 (-11.36%)
Mutual labels:  r-package, rstats
Packagemetrics
A Package for Helping You Choose Which Package to Use
Stars: ✭ 129 (-2.27%)
Mutual labels:  r-package, rstats
Monkeylearn
⛔️ ARCHIVED ⛔️ 🐒 R package for text analysis with Monkeylearn 🐒
Stars: ✭ 95 (-28.03%)
Mutual labels:  r-package, rstats
Elevatr
An R package for accessing elevation data
Stars: ✭ 95 (-28.03%)
Mutual labels:  r-package, rstats
Jqr
R interface to jq
Stars: ✭ 123 (-6.82%)
Mutual labels:  r-package, rstats
Ckanr
R client for the CKAN API
Stars: ✭ 91 (-31.06%)
Mutual labels:  r-package, rstats
Rgbif
Interface to the Global Biodiversity Information Facility API
Stars: ✭ 113 (-14.39%)
Mutual labels:  r-package, rstats
Piggyback
📦 for using large(r) data files on GitHub
Stars: ✭ 122 (-7.58%)
Mutual labels:  r-package, rstats
Drake
An R-focused pipeline toolkit for reproducibility and high-performance computing
Stars: ✭ 1,301 (+885.61%)
Mutual labels:  r-package, rstats
Gistr
Interact with GitHub gists from R
Stars: ✭ 90 (-31.82%)
Mutual labels:  r-package, rstats

geojsonio

cran checks R-CMD-check-docker codecov.io rstudio mirror downloads cran version

Convert various data formats to GeoJSON or TopoJSON

This package is a utility to convert geographic data to GeoJSON and TopoJSON formats. Nothing else. We hope to do this one job very well, and handle all reasonable use cases.

Functions in this package are organized first around what you're working with or want to get, GeoJSON or TopoJSON, then convert to or read from various formats:

  • geojson_list()/topojson_list() - convert to GeoJSON/TopoJSON as R list format
  • geojson_json()/topojson_json() - convert to GeoJSON/TopoJSON as JSON
  • geojson_sp() - convert output of geojson_list() or geojson_json() to sp spatial objects
  • geojson_sf() - convert output of geojson_list() or geojson_json() to sf objects
  • geojson_read()/topojson_read() - read a GeoJSON/TopoJSON file from file path or URL
  • geojson_write()/topojson_write() - write a GeoJSON/TopoJSON file locally

Each of the above functions have methods for various objects/classes, including numeric, data.frame, list, SpatialPolygons, SpatialLines, SpatialPoints, etc.

Additional functions:

  • map_gist() - push up a GeoJSON or topojson file as a GitHub gist (renders as an interactive map)
  • map_leaf() - create a local interactive map using the leaflet package

*json Info

Install

A note about installing rgeos - built on top of C libraries, and installation often causes trouble for Linux users because no binaries are provided on CRAN for those platforms. Other dependencies in geojsonio should install easily automatically when you install geojsonio.

Mac

Install GDAL on the command line first, e.g., using homebrew

brew install gdal

Then install rgeos

install.packages("rgeos", type = "source")

Linux

Get deps first

sudo apt-get install libgdal1-dev libgdal-dev libgeos-c1 libproj-dev

Note: if you have trouble installing rgeos, try installing libgeos++-dev

Then install rgeos

install.packages("rgeos", type = "source")

Install geojsonio

Stable version from CRAN

install.packages("geojsonio")

Or development version from GitHub

install.packages("remotes")
remotes::install_github("ropensci/geojsonio")
library("geojsonio")

Meta

  • Please report any issues or bugs.
  • License: MIT
  • Get citation information for geojsonio in R doing citation(package = 'geojsonio')
  • Please note that this package is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].