Skip to content

Instantly share code, notes, and snippets.

@ttmmghmm
ttmmghmm / bls_spending.R
Last active August 29, 2015 14:22 — forked from hrbrmstr/bls_spending.R
dplyr ems
library(rvest)
library(magrittr)
library(ggplot2)
library(dplyr)
library(tidyr)
library(scales)
# get page
pg <- html("http://www.bls.gov/opub/ted/2015/consumer-spending-by-age-group-in-2013.htm#tab-2")