Geospatial Queries Using 'PyMongo'

Utilizes methods of the 'PyMongo' 'Python' library to initialize, insert and query 'GeoJson' data (see < https://api.mongodb.com/python/current/#> for more information on 'PyMongo'). 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.



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 package Vignette.


System Requirements



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


News

GeoMongo 1.0.1

I fixed a bug in the geoInsert method of the geomongo class (replaced file.exists() with dir.exists() for a folder of files). I added an ellipsis in mongodb_console() function to allow for additional parameters for the system() (unix) and shell() (windows) command line functions.

GeoMongo 1.0.0

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("GeoMongo")

1.0.1 by Lampros Mouselimis, a year ago


https://github.com/mlampros/GeoMongo


Report a bug at https://github.com/mlampros/GeoMongo/issues


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


Authors: Lampros Mouselimis <[email protected]>


Documentation:   PDF Manual  


Apache License 2.0 license


Imports reticulate, R6, geojsonR, data.table

Suggests testthat, covr, knitr, rmarkdown

System requirements: MongoDB (>= 3.4.0), Python (>= 2.7). Installation instructions and links can be found in the README file.


See at CRAN