On Github lgautier / jpd-pdapr-slides
sql = """ select value from measures where value > 0 """ cursor = dbcon.cursor() cursor.execute(sql) result=cursor.fetchall()
cursor = dbcon.cursor() sql = """ select value from measures where value > 0 """ cursor.execute(sql) result = cursor.fetchall()
result = (Measure .select() .where(Measure.value > 0))(example with SQLObject)
docker run --rm -it -p 8888:8888 \ rpy2/jpd-pdapr-slidesVisit http://localhost:8888/ *
*: If docker-machine (Windows, OS X), the address is:
docker-machine ip [MACHINE]