Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (15 sloc) 0.616 kb

Rgviz DataTable

An extension to the {rgviz}{} library to provide a non-activerecord way to connect data to Google Visualization clients.

# Sample code

rows = []

CSV.each_line(file, “r”) do |row|



result_rows = Rgviz::QueryExecutor.execute(rows, params[:tq])

# result_rows now has the results of the query.


In order of needed:

  • Implement labels

  • Refactor where parsing to fix bug where (, ), AND or OR may appear in values (E.g., WHERE column = “AND”)

  • Implement pivots

  • Ordering by a column that does not exist causes a nil class exception.

Jump to Line
Something went wrong with that request. Please try again.