Skip to content

Instantly share code, notes, and snippets.

View mmparker's full-sized avatar

Matt Parker mmparker

View GitHub Profile
library(dplyr)
library(rvest)
# Get the list of files to work on
files_to_process <- list.files('r:/shared documents/',
pattern = 'html',
full.names = TRUE)
@fredbenenson
fredbenenson / kickstarter_sql_style_guide.md
Last active April 2, 2024 15:19
Kickstarter SQL Style Guide
layout title description tags
default
SQL Style Guide
A guide to writing clean, clear, and consistent SQL.
data
process

Purpose

diamonds <- ggplot2::diamonds
pryr::object_size(diamonds)
#> 3.46 MB

diamonds2 <- transform(diamonds, price_per_carat = price / carat)
pryr::object_size(diamonds2)
#> 3.89 MB

# Size of both data frames combined
@flohdot
flohdot / productivity and self-management
Last active November 2, 2023 01:02
tools for freelancers
Trello: http://trello.com
Fantastic, simple project management. Free tier does most things you'll ever need. I've tried Basecamp, Unfuddle and a million bug trackers, but a combination of Github and Trello is what I like best. Trello gives you a nice full overview of your whole project and who is doing what. It also makes it really easy to reorganize priorities. Unless my client has a project management tool they want me to use, I create a Trello board and add the client and try to centralize as much communication as possible in there.
Toggl: http://toggl.com
Best time-tracking app I've tried, with native apps for just about every OS. Free tier does most things you'll ever need. Paid tier does even more and plugs into various other tools.
@mmparker
mmparker / README.md
Created September 7, 2012 23:25
Table-driven plot in d3.js

Best viewed in its own window (because I haven't set up the CSS properly yet).

This is a report to enable my clinicians to easily review clinic statistics at will. Click on rows in the table to plot that statistic; click again to remove it from the plot.

Very much a work in progress, so please feel free to heap on the feedback!

Built with the rampantly awesome D3.js.