Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mlampros/geomongo
Geospatial Queries Using PyMongo in R
https://github.com/mlampros/geomongo
geojson mongodb pymongo r reticulate
Last synced: about 1 month ago
JSON representation
Geospatial Queries Using PyMongo in R
- Host: GitHub
- URL: https://github.com/mlampros/geomongo
- Owner: mlampros
- Created: 2017-08-06T16:33:39.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T16:08:29.000Z (almost 2 years ago)
- Last Synced: 2024-10-14T21:40:43.617Z (about 1 month ago)
- Topics: geojson, mongodb, pymongo, r, reticulate
- Language: R
- Homepage: https://mlampros.github.io/GeoMongo/
- Size: 2.67 MB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![tic](https://github.com/mlampros/GeoMongo/workflows/tic/badge.svg?branch=master)](https://github.com/mlampros/GeoMongo/actions)
[![codecov.io](https://codecov.io/github/mlampros/GeoMongo/coverage.svg?branch=master)](https://codecov.io/github/mlampros/GeoMongo?branch=master)
[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/GeoMongo)](http://cran.r-project.org/package=GeoMongo)
[![Downloads](http://cranlogs.r-pkg.org/badges/grand-total/GeoMongo?color=blue)](http://www.r-pkg.org/pkg/GeoMongo)
[![Dependencies](https://tinyverse.netlify.com/badge/GeoMongo)](https://cran.r-project.org/package=GeoMongo)## GeoMongo
The **GeoMongo** package utilizes methods of the [*PyMongo*](https://github.com/mongodb/mongo-python-driver) 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*](https://www.mongodb.com/) (bulk) commands. The [*reticulate*](https://github.com/rstudio/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](http://mlampros.github.io/2017/08/07/the_GeoMongo_package/) and in the package Vignette.
### **System Requirements**
* [MongoDB (>= 3.4.0)](https://docs.mongodb.com/manual/installation/)
* Python (>= 2.7) [ preferably python 3 because Python 2.7 will reach the end of its life on January 1st, 2020 ]
* [PyMongo](https://github.com/mongodb/mongo-python-driver#installation) (to install use : **python3 -m pip install --upgrade pymongo**)
* [jsonschema](https://pypi.org/project/jsonschema/) (to install use : **pip3 install jsonschema --ignore-installed six**)
### **Installation of the GeoMongo package**
To install the package from CRAN use,
```R
install.packages('GeoMongo')
```
and to download the latest version from Github use the *install_github* function of the devtools package,
```R
devtools::install_github(repo = 'mlampros/GeoMongo')
```
Use the following link to report bugs/issues,[https://github.com/mlampros/GeoMongo/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/package=GeoMongo](https://CRAN.R-project.org/package=GeoMongo):
```R
@Manual{,
title = {{GeoMongo}: Geospatial Queries Using 'PyMongo' in R},
author = {Lampros Mouselimis},
year = {2021},
note = {R package version 1.0.3},
url = {https://CRAN.R-project.org/package=GeoMongo},
}
```