This content originally appeared on DEV Community and was authored by Anthony Dellavecchia
Overview of My Submission
TRACK BAT LOCATION MOVEMENTS OVER TIME
Movebank, is a public database, where scientists track animal movements by attaching a GPS device to the animal. Based on a certain frequencies, that data is recorded by the device and stored in the database.
There is a public API which gets this data, so developers can use it in various projects.
My idea for this was to:
- Get European free-tailed bat tracking data from Movebank's API.
- Store that data in MongoDB.
- Convert it to Time Series data.
- Display that data on a Map to track their movement history.
Unfortunately, I saw this Hackathon only a few days before the due date and did not have enough time to complete my idea. But I am submitting it as is. I may want to complete it in the future.
What I completed:
- ✅ Get European free-trailed bat tracking data from Movebank's API
- ✅ Store that data in MongoDB.
- ⛔ Convert it to Time Series data.
- ⛔ Display that data on a Map to track their movement history.
Submission Category:
Prime Time with Atlas Time Series
Screenshots:
Link to Code
anthonyjdella / atlas-hackathon-time-series
💚 My submission for the Atlas Hackathon sponsored by MongoDB. This is a Time Series app.
Bat Tracker
MongoDB Atlas Hackathon Time Series
💚 This is my submission for the MongoDB Atlas Hackathon on DEV. The category is "Prime Time" for Time Series Collections. You can view my submission here.
Disclaimer
For this project, I wanted to work with technologies that I've never used. These were Django and MongoDB.
About
Movebank, is a public database, where scientists track animal movements by attaching a GPS device to the animal. Based on a certain frequencies, that data is recorded by the device and stored in the database.
There is a public API which gets this data, so developers can use it in various projects.
My idea for this was to:
- Get European free-tailed bat tracking data from Movebank's API.
- Store that data in MongoDB.
- Convert it to Time Series data.
- Display that data on a Map to track their movement history.
Incomplete
Unfortunately, I saw…
Additional Resources / Info
A helpful guide:
https://www.mongodb.com/features/mongodb-time-series-dataTutorial for inserting data using
PyMongo
:
https://kb.objectrocket.com/mongo-db/how-to-bulk-insert-multiple-documents-to-a-mongodb-collection-using-python-352Referencing this MongoDB PyMongo Guide on Github:
https://github.com/mongodb-developer/django-pymongoMovebank Study where I got the Data:
https://www.movebank.org/cms/webapp?gwt_fragment=page=studies,path=study312057662Movebank API:
https://github.com/movebank/movebank-api-docHow to Migrate Data into a Time Series Collection:
https://docs.mongodb.com/manual/core/timeseries/timeseries-migrate-data-into-timeseries-collection/To install MongoDB Shell and login: https://docs.mongodb.com/mongodb-shell/
mongosh mongodb+srv://USER:PASS@cluster0.9ptvo.mongodb.net/Bat_DB?retryWrites=true&w=majority
- To install MongoDB Community Edition 5.0: https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/#install-mongodb-community-edition
brew tap mongodb/brew
brew install mongodb-community@5.0
brew services stop mongodb-community@5.0
brew services list
mongosh
- To download and configure MongoDB CLI: https://docs.mongodb.com/mongocli/master/configure/#std-label-mcli-configure
mongocli config describe default
- To connect to a Remote Host: https://docs.mongodb.com/mongodb-shell/connect/#mongodb-instance-on-a-remote-host
mongosh "mongodb+srv://USER:PASS@cluster0.9ptvo.mongodb.net/Bat_DB?retryWrites=true&w=majority"
Thanks for sponsoring this great Hackathon! Although my submission is incomplete, I learned a lot.
This content originally appeared on DEV Community and was authored by Anthony Dellavecchia
Anthony Dellavecchia | Sciencx (2022-01-14T06:12:48+00:00) Bat Tracker – MongoDB Atlas Hackathon Submission. Retrieved from https://www.scien.cx/2022/01/14/bat-tracker-mongodb-atlas-hackathon-submission/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.