Perl6 Data Visualizations
The following are a few examples of some quick queries and visualizations we made to show how to use the Perl6 IRC data.
(1) Posts by hour of day over the years
SQL code:
SELECT YEAR(`date_of_entry`),HOUR(`time_of_entry`),COUNT(HOUR(`time_of_entry`))
FROM `perl6_irc`
GROUP BY 1,2
(2) Perl6 IRC Posts by hour
SQL Code:
SELECT HOUR( `time_of_entry` ) , COUNT( HOUR( `time_of_entry` ) )
FROM `perl6_irc`
GROUP BY 1
(3) Perl6 Developer IRC Posts Over Time
SQL Code:
SELECT `send_user` , YEAR( `date_of_entry` ) , MONTH( `date_of_entry` ) , `date_of_entry` , COUNT(
TYPE )
FROM `perl6_irc`
WHERE `send_user` = 'pmichaud'
OR `send_user` = 'audreyt'
OR `send_user` = 'TimToady'
OR `send_user` = 'jnthn'
GROUP BY 1 , 2, 3
Attachment | Size |
---|---|
image (4).png | 56.88 KB |
image (5).png | 12.89 KB |
image (6).png | 62.74 KB |
image (7).png | 68 KB |
- gbatchelor's blog
- Log in to post comments