source("config/style.R")
d <- read.csv("data/measurements.csv",stringsAsFactors=FALSE)
totals <- aggregate(cbind(records,released)~station,data=d,FUN=sum)
totals$percent <- 100*totals$released/totals$records
p <- ggplot(totals,aes(station,percent)) + geom_col(fill="#00549F") +
  scale_y_continuous(limits=c(0,100)) + labs(y="Released (%)")
export_plot(p, "GGP-16-004")
