Skip to content

bradseefeld/rgviz_data_table

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rgviz DataTable

An extension to the {rgviz}{github.com/asterite/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|

rows.add(row)

end

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

# result_rows now has the results of the query.

TODO

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages