Closed simonprickett closed 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.
load_stations.py
Use the following key naming strategy for each hash: station:<station name in lowercase>, e.g. station:concord.
station:<station name in lowercase>
station:concord
Check out the hmset function in redis-py for this: https://redis-py.readthedocs.io/en/stable/#redis.Redis.hmset
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
I would like to take this!
@oktak I've assigned this to you, please check our rules at https://developer.redis.com/hacktoberfest/ and have fun!
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.hmsetThis 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