Vizzuality/CartoDB-SQL-API — Issue #9: csv format output
Author: springmeyer
Created: 2011-11-10 19:51:04+00:00
State: open

Would be nice to be able to dump out rows as csv as well as json, geojson, and kml.

eg:

```
http://tileio.cartodb.com/api/v1/sql?q=SELECT%20*%20FROM%20places_by_lon_lat&format=csv
```

A parameter could be accepted to control what is done with the geometry. Options could include:

* detect simple points, dump lon/lat in separate columns
* dump geometry into a field called 'wkt' in WKT format
* dump geometry in a single field as geojson (like [datacouch.com](http://datacouch.com/edit/#/dc8364385fc612b847d66ca7886519749c))