In [1]:
require 'daru/io/importers/json'
Out[1]:
true
In [2]:
df = Daru::DataFrame.from_json 'https://api.github.com/orgs/Sciruby/repos', index: '$..name', forks: '$..forks', stars: '$..stargazers_count', size: '$..size', open_issues: '$..open_issues_count'
Out[2]:
Daru::DataFrame(26x4)
forks stars size open_issues
sciruby 79 835 361 1
sciruby.github.com 3 11 3743 0
sciruby.com 17 10 3903 7
statsample 19 70 4424 20
nmatrix 114 378 8062 86
rb-gsl 30 66 5607 13
distribution 13 25 1198 18
minimization 5 16 238 3
integration 2 9 289 4
plotrb 7 21 538 13
narray 0 5 264 0
publisci 0 4 906 12
statsample-timeseries 3 8 148 2
statsample-glm 6 17 161 11
mdarray 0 7 77262 13
daru 69 446 4179 60
iruby 43 284 1197 35
extendmatrix 1 3 246 2
statsample-bivariate-extension 1 2 161 3
sciruby-notebooks 25 39 10697 6
legacy-sciruby-ide 0 0 436 0
gnuplotrb 7 13 6912 3
packable 2 3 60 0
nyaplot 4 5 26051 1
tutorials 4 9 8 0
spice_rub 0 0 10178 0