Built with blockbuilder.org
Built with blockbuilder.org
Built with blockbuilder.org
This file contains hidden or 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
| ### Biggest come-from-behind title wins | |
| library(engsoccerdata) | |
| library(dplyr) | |
| library(purrr) | |
| library(ggplot2) | |
| library(ggthemes) | |
| head(engsoccerdata2) |
This file contains hidden or 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
| # Calculate ages using lubridate | |
| #option 1 | |
| library(lubridate) | |
| library(dplyr) | |
| today() #get today's date | |
| today() - as.Date("1992-05-23") #calculate difference in days between two dates |
We can't make this file beautiful and searchable because it's too large.
This file contains hidden or 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
| "drivepct","fairways.hit","possible.fairways","year","name","driveavg","total.distance","total.drives","rounds","girpct","greens.hit","total.holes","goforgreenpct","goforgreen.attempts","goforgreen.noattempts","sandsavepct","total.sandsaves","total.bunkers","scramblingpct","parorbetter","missedgir","threeputtpct","threeputt.total","oneputtpct","oneputt.total","putts.avg","total.putts","rounds1","birdiepct","total.birdies","score.avg","strokes","birdiebogieratio","total.birdies.better","total.bogeys.worse","par3.birdiepct","par3.birdies.better","par3.holes","par4.birdiepct","par4.birdies.better","par4.holes","par5.birdiepct","par5.birdies.better","par5.holes","total.events","top10s","firsts","seconds","thirds","moneypct","totalmoney","country","label" | |
| 77.23,1031,1335,2004,"Fred Funk",271.9,52198,192,97,65.51,1132,1728,35.05,102,189,54.6,89,163,61.24,365,596,2.84,49,39.18,677,28.9,2774,96,28.43,321,70.448,6776,1.28,344,268,16.03,63,393,14.47,149,1030,43.28,132,305,29,6,1,1,1,7.84,2103730,"USA","Fred Funk 2004" |
This file contains hidden or 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
| library(ggplot2) | |
| library(dplyr) | |
| data(mtcars) | |
| sem <- function(x) sd(x)/sqrt(length(x)) #std error | |
| mtcarsx <- mtcars %>% group_by(cyl) %>% summarize(meanx = mean(wt), semx = sem(wt)) %>% mutate(upr = meanx + semx, lwr = meanx - semx) | |
| mtcarsx | |
| ggplot(mtcarsx, aes(x=factor(cyl), y=meanx))+ |
Built with blockbuilder.org
A draggable tactics board for soccer (Think Andy Townsend circa late 1990s).
forked from jalapic's block: James' tactics board
Adding to Ian Baldwin's modifications:
Changes made:
Built with blockbuilder.org
A draggable tactics board for soccer (Think Andy Townsend circa late 1990s).
forked from jalapic's block: James' tactics board
Adding to Ian Baldwin's modifications:
Changes made:
Built with blockbuilder.org
A draggable tactics board for soccer (Think Andy Townsend circa late 1990s).
More info here: http://jalapic.github.io/tacticsboard