redis-developer / introducing-the-geosearch-command

Demo application using a Bulma / Leaflet JS / JavaScript front end and Python / Flask backend to demonstrate the GEOSEARCH command added in Redis 6.2.
https://developer.redis.com/
MIT License
14 stars 13 forks source link

Enhance the data loader Python script to also load each station's data into a Redis Hash #2

Closed simonprickett closed 2 years ago

simonprickett commented 2 years ago

Enhance the data loader script load_stations.py to also load the data for each station into its own hash in Redis.

Use the following key naming strategy for each hash: station:<station name in lowercase>, e.g. station:concord.

Check out the hmset function in redis-py for this: https://redis-py.readthedocs.io/en/stable/#redis.Redis.hmset

This is part of our participation in Hacktoberfest 2021. Learn how to complete this issue here: https://developer.redis.com/hacktoberfest/

Need help or want to talk to us? Join us on Discord where we have a dedicated Hacktoberfest channel: https://discord.gg/ueQwKUh5Z3

oktak commented 2 years ago

I would like to take this!

simonprickett commented 2 years ago

@oktak I've assigned this to you, please check our rules at https://developer.redis.com/hacktoberfest/ and have fun!