Bitcoin Forum
December 15, 2017, 10:07:32 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1] 2 »  All
  Print  
Author Topic: /r/Bitcoin stats  (Read 4437 times)
theymos
Administrator
Legendary
*
Offline Offline

Activity: 2870


View Profile
January 24, 2013, 09:12:11 PM
 #1

Someone requested that I post the /r/Bitcoin stats. Here they are in Reddit's JSON format so that you can create your own graphs:
http://pastebin.com/6kbMAAR3

The numbers in each array are, in order:
-Unix timestamp representing a day/hour/month
-Uniques
-Pageviews
-Subscriptions (omitted on time periods other than "day")

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
1513375652
Hero Member
*
Offline Offline

Posts: 1513375652

View Profile Personal Message (Offline)

Ignore
1513375652
Reply with quote  #2

1513375652
Report to moderator
1513375652
Hero Member
*
Offline Offline

Posts: 1513375652

View Profile Personal Message (Offline)

Ignore
1513375652
Reply with quote  #2

1513375652
Report to moderator
1513375652
Hero Member
*
Offline Offline

Posts: 1513375652

View Profile Personal Message (Offline)

Ignore
1513375652
Reply with quote  #2

1513375652
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1513375652
Hero Member
*
Offline Offline

Posts: 1513375652

View Profile Personal Message (Offline)

Ignore
1513375652
Reply with quote  #2

1513375652
Report to moderator
Herodes
Hero Member
*****
Offline Offline

Activity: 868


View Profile
January 26, 2013, 04:27:24 AM
 #2

Now if only some stat geek gave us a fine graph over daily visitors.
Phinnaeus Gage
Legendary
*
Offline Offline

Activity: 1358


Bitcoin: An Idea Worth Spending


View Profile
January 26, 2013, 04:48:08 AM
 #3

Now if only some stat geek gave us a fine graph over daily visitors.

https://bitcointalk.org/index.php?action=stats

An elderberry pie chart would work for me.
organofcorti
Donator
Legendary
*
Offline Offline

Activity: 2044


Poor impulse control.


View Profile WWW
January 27, 2013, 12:33:29 PM
 #4

Now if only some stat geek gave us a fine graph over daily visitors.

https://bitcointalk.org/index.php?action=stats

An elderberry pie chart would work for me.

Here is not only the requested elderberry chart, but also the R script that generated it.

If theymos updates the data you'll be able to generate the same charts yourself (after changing the pastebin url in the script).


Code:

### reddit/r/Bitcoin stats
require(RJSONIO)
require(reshape)
require(ggplot2)

### change "pasteBinUrl" if theymos updates data
###
pasteBinUrl <- "http://pastebin.com/6kbMAAR3"
###



### functions
date.func <- function(x) ISOdate(1970,1,1)+ x$Unixtime

### download data
uniqueID <-  gregexpr("[1-9]", pasteBinUrl)[[1]]
reddit <- fromJSON(paste("http://pastebin.com/download.php?i=", substr(pasteBinUrl, uniqueID[1], uniqueID[2]), sep=''))

### format data sets for plotting

r.month <- data.frame(do.call(rbind, reddit$month))
r.day <- data.frame(do.call(rbind, reddit$day))
r.hour <- data.frame(do.call(rbind, reddit$hour))

colnames(r.month) <- c("Unixtime", paste(c("Uniques per", "Pageviews per"),"month"))
colnames(r.day) <- c("Unixtime", paste(c("Uniques per", "Pageviews per", "Subscriptions per"),"day"))
colnames(r.hour) <- c("Unixtime", paste(c("Uniques per", "Pageviews per"), "hour"))

#r.day$"Cumulative subscriptions" <- rev(c(cumsum(r.day$Subscriptions)))
r.day$Date <- date.func(r.day); r.month$Date <- date.func(r.month); r.hour$Date <- date.func(r.hour)

plot.df <- rbind(
melt(r.month[, 2:4], id="Date"),
melt(r.day[, 2:5], id="Date"),
melt(r.hour[, 2:4], id="Date")
)


#### the chart
reddit.plot <- ggplot(plot.df, aes(Date, value)) +
geom_line() +
facet_wrap(~variable, scales="free", ncol=1) +
ggtitle("r/Bitcoin statistics from theymos' data") + xlab("") + ylab("")
png(paste('reddit', Sys.Date(), '.png',sep=''),height=960*4,width=960*16/9*4/5,res=220)
reddit.plot
dev.off()

#### the end

Bitcoin network and pool analysis 12QxPHEuxDrs7mCyGSx1iVSozTwtquDB3r
follow @oocBlog for new post notifications
Herodes
Hero Member
*****
Offline Offline

Activity: 868


View Profile
January 27, 2013, 12:45:39 PM
 #5

Great work man! Thanks
organofcorti
Donator
Legendary
*
Offline Offline

Activity: 2044


Poor impulse control.


View Profile WWW
January 28, 2013, 04:49:18 AM
 #6

But wait, there's more:


Bitcoin network and pool analysis 12QxPHEuxDrs7mCyGSx1iVSozTwtquDB3r
follow @oocBlog for new post notifications
Mr. Coinman
Sr. Member
****
Offline Offline

Activity: 278



View Profile
January 28, 2013, 09:34:43 AM
 #7

There definitely seems to be some steady growth!  Cheesy.

theymos
Administrator
Legendary
*
Offline Offline

Activity: 2870


View Profile
April 03, 2013, 01:01:44 AM
 #8

Current data:
http://pastebin.com/GsyXtrFf

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
organofcorti
Donator
Legendary
*
Offline Offline

Activity: 2044


Poor impulse control.


View Profile WWW
April 03, 2013, 09:35:58 AM
 #9


Updated:








Bitcoin network and pool analysis 12QxPHEuxDrs7mCyGSx1iVSozTwtquDB3r
follow @oocBlog for new post notifications
phelix
Legendary
*
Offline Offline

Activity: 1708


nmc:id/phelix


View Profile
April 03, 2013, 10:22:27 PM
 #10

Any chance of getting this data / these diagrams regularly?

blockchained.com ■ bitcointalk top posts
organofcorti
Donator
Legendary
*
Offline Offline

Activity: 2044


Poor impulse control.


View Profile WWW
April 03, 2013, 10:28:18 PM
 #11

Any chance of getting this data / these diagrams regularly?

So far Theymos has provided updates every sixty eight days, like clockwork. You want the updates more often? Smiley

If Theymos is able to provide updates more often and I don't have time to provide chart updates more often, I'll post an updated script to generate the charts and you'll be able to do it yourself.


Bitcoin network and pool analysis 12QxPHEuxDrs7mCyGSx1iVSozTwtquDB3r
follow @oocBlog for new post notifications
phelix
Legendary
*
Offline Offline

Activity: 1708


nmc:id/phelix


View Profile
April 03, 2013, 10:32:41 PM
 #12

Any chance of getting this data / these diagrams regularly?

So far Theymos has provided updates every sixty eight days, like clockwork. You want the updates more often? Smiley

If Theymos is able to provide updates more often and I don't have time to provide chart updates more often, I'll post an updated script to generate the charts and you'll be able to do it yourself.


yeah, I meant on a daily basis at least. Not sure how often reddit data is updated. I think I would choose the diagram that has the best correlation / the most meaning and would put it up my website.

blockchained.com ■ bitcointalk top posts
organofcorti
Donator
Legendary
*
Offline Offline

Activity: 2044


Poor impulse control.


View Profile WWW
April 03, 2013, 10:36:43 PM
 #13

Any chance of getting this data / these diagrams regularly?

So far Theymos has provided updates every sixty eight days, like clockwork. You want the updates more often? Smiley

If Theymos is able to provide updates more often and I don't have time to provide chart updates more often, I'll post an updated script to generate the charts and you'll be able to do it yourself.


yeah, I meant on a daily basis at least. Not sure how often reddit data is updated. I think I would choose the diagram that has the best correlation / the most meaning and would put it up my website.

Sounds uncomfortable.

Which one has the most meaning for you?

Bitcoin network and pool analysis 12QxPHEuxDrs7mCyGSx1iVSozTwtquDB3r
follow @oocBlog for new post notifications
phelix
Legendary
*
Offline Offline

Activity: 1708


nmc:id/phelix


View Profile
April 03, 2013, 11:04:58 PM
 #14

Any chance of getting this data / these diagrams regularly?

So far Theymos has provided updates every sixty eight days, like clockwork. You want the updates more often? Smiley

If Theymos is able to provide updates more often and I don't have time to provide chart updates more often, I'll post an updated script to generate the charts and you'll be able to do it yourself.


yeah, I meant on a daily basis at least. Not sure how often reddit data is updated. I think I would choose the diagram that has the best correlation / the most meaning and would put it up my website.

Sounds uncomfortable.
why? of course this would have to be automatic. Grin

Quote
Which one has the most meaning for you?
the first one I guess

blockchained.com ■ bitcointalk top posts
organofcorti
Donator
Legendary
*
Offline Offline

Activity: 2044


Poor impulse control.


View Profile WWW
April 03, 2013, 11:19:38 PM
 #15

Any chance of getting this data / these diagrams regularly?

So far Theymos has provided updates every sixty eight days, like clockwork. You want the updates more often? Smiley

If Theymos is able to provide updates more often and I don't have time to provide chart updates more often, I'll post an updated script to generate the charts and you'll be able to do it yourself.


yeah, I meant on a daily basis at least. Not sure how often reddit data is updated. I think I would choose the diagram that has the best correlation / the most meaning and would put it up my website.

Sounds uncomfortable.
why? of course this would have to be automatic. Grin


Not sure I'd want to put anything up my um "website" automatically Wink


Which one has the most meaning for you?

the first one I guess


Looking at your website, I'd reckon you'd be able to create that chart yourself from the raw data without any problems. I'm not sure Theymos would be keen to post an update of the data every day though.

Bitcoin network and pool analysis 12QxPHEuxDrs7mCyGSx1iVSozTwtquDB3r
follow @oocBlog for new post notifications
theymos
Administrator
Legendary
*
Offline Offline

Activity: 2870


View Profile
April 03, 2013, 11:22:50 PM
 #16

I'll do it automatically if someone writes me a PHP/Python/Perl/Bash script which logs a user onto reddit, fetches http://www.reddit.com/r/Bitcoin/about/traffic.json, and then prints it to stdout.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
phelix
Legendary
*
Offline Offline

Activity: 1708


nmc:id/phelix


View Profile
April 03, 2013, 11:25:42 PM
 #17

[...]
Looking at your website, I'd reckon you'd be able to create that chart yourself from the raw data without any problems. I'm not sure Theymos would be keen to post an update of the data every day though.
yeah I am pretty sure he has better things to do. like sitting on an island. Smiley

So, Theymos, should there be an easy solution for you to make this data public I would go for displaying it.

blockchained.com ■ bitcointalk top posts
phelix
Legendary
*
Offline Offline

Activity: 1708


nmc:id/phelix


View Profile
April 03, 2013, 11:27:34 PM
 #18

I'll do it automatically if someone writes me a PHP/Python/Perl/Bash script which logs a user onto reddit, fetches http://www.reddit.com/r/Bitcoin/about/traffic.json, and then prints it to stdout.
ok. I will hopefully find the time soon and let you know. Python would be my choice.

edit:
and I see it should even be possible to do it nicely: http://www.reddit.com/dev/api

APIs are the web 3.0

blockchained.com ■ bitcointalk top posts
whiskers75
Hero Member
*****
Offline Offline

Activity: 658


Doesn't use these forums that often.


View Profile
April 07, 2013, 05:27:55 AM
 #19

I'll do it automatically if someone writes me a PHP/Python/Perl/Bash script which logs a user onto reddit, fetches http://www.reddit.com/r/Bitcoin/about/traffic.json, and then prints it to stdout.
Node.js? Tongue

I'll write one!

Elastic.pw Elastic - The Decentralized Supercomputer
ELASTIC ANNOUNCEMENT THREAD | ELASTIC SLACK | ELASTIC FORUM
whiskers75
Hero Member
*****
Offline Offline

Activity: 658


Doesn't use these forums that often.


View Profile
April 07, 2013, 05:42:55 AM
 #20

On my end, it doesn't resolve properly (getaddrinfo ENOTFOUND) but maybe you'll have some luck:

Code:
// whiskers75's /r/Bitcoin Script! :)
// Coded by whiskers75 for theymos and users of the Bitcoin Forum.

var http = require('http');

var options = {
    port: 80,
    hostname: 'http://www.reddit.com',
    method: 'GET',
    path: '/r/bitcoin/about/traffic.json'
};
console.log('Requesting ' + options.hostname + options.path + ':' + options.port + ' (' + options.method + ')');
var req = http.request(options, function(res) {
    res.setEncoding('utf8');
    res.on('data', function (chunk) {
        console.log(chunk);
    });
});

Elastic.pw Elastic - The Decentralized Supercomputer
ELASTIC ANNOUNCEMENT THREAD | ELASTIC SLACK | ELASTIC FORUM
Pages: [1] 2 »  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!