Last active
June 8, 2023 01:37
-
-
Save igrigorik/2017506 to your computer and use it in GitHub Desktop.
This file contains 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
require 'open-uri' | |
require 'zlib' | |
require 'yajl' | |
gz = open('http://data.gharchive.org/2015-01-01-12.json.gz') | |
js = Zlib::GzipReader.new(gz).read | |
Yajl::Parser.parse(js) do |event| | |
print event | |
end |
Hello,
Can you please let me know the process how to download the GH Archive files. I am new to this.I want this data to analysis.I tried through postman but didn't work.I am not getting how to run this ruby script. Can anyone Please help me here
Can someone please let me know the process of how to download the GH Archive files? I am new to this. I want this data to analysis.I am not getting how to run this Ruby script.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nope, not on this end. I'm sure it'll break a few downstream clients, but 'simple core' strategy makes sense to me.