This file contains 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
# BB-8 -------------------------------------------------------------------- | |
# Inspired by Brian Hough in http://codepen.io/bhough/pen/wawrPL | |
# Packages ---------------------------------------------------------------- | |
library("dplyr") | |
library("ggplot2") |
This file contains 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(blscrapeR) | |
library(dplyr) | |
library(stringr) | |
library(data.table) | |
# Using fread from data.table here becuse it's much faster and the first file is pretty huge. | |
doc <- data.table::fread("https://download.bls.gov/pub/time.series/oe/oe.data.0.Current") | |
titles <- data.table::fread("https://download.bls.gov/pub/time.series/oe/oe.occupation") | |
data_type <- data.table::fread("https://download.bls.gov/pub/time.series/oe/oe.datatype") |
OlderNewer