Skip to content

Instantly share code, notes, and snippets.

View dholstius's full-sized avatar

David Holstius dholstius

  • Bay Area Air Quality Management District
  • San Francisco Bay Area
  • X @dholstius
View GitHub Profile
@dholstius
dholstius / grouply.R
Last active August 31, 2016 17:11 — forked from dgrtwo/grouply.R
grouply <- function(f, ...) {
groups <- lazyeval::lazy_dots(...)
function(tbl, ...) {
dplyr::group_by_(tbl, .dots = groups) %>%
f(...) %>%
dplyr::ungroup()
}
}
@dholstius
dholstius / .gitignore
Last active August 29, 2015 14:09 — forked from mbostock/.block
California census tracts
.DS_Store
build
node_modules