encode query in getquotes
link quotes button to cartodb table