Skip to content

Instantly share code, notes, and snippets.

Avatar
🎸
Working from home

Jose Diaz-Gonzalez josegonzalez

🎸
Working from home
View GitHub Profile
@josegonzalez
josegonzalez / redis_migrate.py
Created Mar 7, 2017 — forked from iserko/redis_migrate.py
A simple script to migrate all keys from one Redis to another
View redis_migrate.py
#!/usr/bin/env python
import argparse
import redis
def connect_redis(conn_dict):
conn = redis.StrictRedis(host=conn_dict['host'],
port=conn_dict['port'],
db=conn_dict['db'])
return conn
View README.md

This choropleth encodes unemployment rates from 2008 with a quantize scale ranging from 0 to 15%. A threshold scale is a useful alternative for coloring arbitrary ranges.