Last active
March 28, 2021 05:36
-
-
Save rtanglao/8a8eb580c8ec7656c653db904b7cfea3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def read(url) | |
| CSV.new(URI.open(url), :headers => :first_row).each do |line| | |
| ap line | |
| end | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CSV.foreach(URI.open(url), headers: true) do |row| | |
| ap row | |
| end |
Author
rtanglao
commented
Mar 28, 2021
Author
also remotetable might work? https://github.com/seamusabshere/remote_table
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment