GeoMongo

Geospatial Queries Using 'PyMongo'


Keywords
geojson, mongodb, pymongo, r, reticulate
License
Apache-2.0

Documentation

tic codecov.io CRAN_Status_Badge Downloads Buy Me A Coffee Dependencies

GeoMongo


The GeoMongo package utilizes methods of the PyMongo Python library to initialize, insert and query GeoJson data. Furthermore, it allows the user to validate GeoJson objects and to use the console for MongoDB (bulk) commands. The reticulate package provides the R interface to Python modules, classes and functions. More details on the functionality of GeoMongo can be found in the blog post and in the package Vignette.


System Requirements


  • MongoDB (>= 3.4.0)

  • Python (>= 2.7) [ preferably python 3 because Python 2.7 will reach the end of its life on January 1st, 2020 ]

  • PyMongo (to install use : python3 -m pip install --upgrade pymongo)

  • jsonschema (to install use : pip3 install jsonschema --ignore-installed six)


Installation of the GeoMongo package


To install the package from CRAN use,

install.packages('GeoMongo')

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

devtools::install_github(repo = 'mlampros/GeoMongo')

Use the following link to report bugs/issues,

https://github.com/mlampros/GeoMongo/issues


Citation:

If you use the GeoMongo R package in your paper or research please cite https://cran.r-project.org/web/packages/GeoMongo/citation.html:


@Manual{,
  title = {{GeoMongo}: Geospatial Queries Using 'PyMongo'},
  author = {Lampros Mouselimis},
  year = {2021},
  note = {R package version 1.0.2},
  url = {https://CRAN.R-project.org/package=GeoMongo},
}