SciRuby / daru

Data Analysis in RUby
BSD 2-Clause "Simplified" License
1.04k stars 139 forks source link

Read data by URL #289

Closed zverok closed 7 years ago

zverok commented 7 years ago

Another one stolen from our competitors (as #127). They can do this:

df = pandas.read_csv('https://download.data.world/sql_query_result_download/producthunt/product-hunt-research?filename=product-hunt-research-QueryResult&mimetype=text%2Fcsv&query=--%20NOTE%3A%20from%20a%20sample%20of%205000%20records%20in%20the%20full%20dataset%0ASELECT%20name%2C%20time_of_day%2C%20PostsForExploration.date%0AFROM%20PostsForExploration%20&auth=<USER-FILE-SPECIFIC-TOKEN>')

With Ruby's open-uri, it would not be too hard to reproduce, and, again, not that useful -- but "cool looking" on demos.

v0dro commented 7 years ago

Works.

Varunram commented 7 years ago

@v0dro Do we add this as an extension?

v0dro commented 7 years ago

Extension as in?

anshuman23 commented 7 years ago

Submitted the PR for this issue. I will also work on #127

athityakumar commented 7 years ago

Fixed with PR #334 - I think this issue can be closed now. :smile:

zverok commented 7 years ago

:+1: