WeeklyEarningsPlotBLS

Calculate Wages and Benefits in R with blscrapeR

The most difficult thing about working with BLS data is gaining a clear understanding on what data are available and what they represent. Some of the more popular data sets can be found on the BLS Databases, Tables & Calculations website. The selected examples below do not include all series or databases. Install blscrapeR The Read More

blscrape_docfig3

Using blscrapeR to Map County Unemployment Data

The blscrapeR package makes it easy to produce choropleth maps of various employment and unemployment rates from the Bureau of Labor Statistics (BLS.) Install blscrapeR from CRAN: install.packages(“blscrapeR”) It’s easy enough to pull a metric for a certain county. The code below pulls the unemployment rates for Orange County, FL from the BLS API. library(blscrapeR) Read More

Screen Shot 2015-12-17 at 8.53.24 AM

Upgrade R on Windows with the installr Package

It’s that time again—time for a new R version! The latest version 3.2.3 “Wooden Christmas Tree” is a small upgrade for most, but a huge step for Windows users. Of the new features included in Wooden, half of them are Windows-specific. Several months back I wrote a tutorial on how to upgrade R on a Read More

forecastgraph

Using R to Forecast the GDP and Other Things

I’ve recently discovered Dr. Rob Hyndman’s forecast package for R. This is an awesome package because it allows the use of several forecast models simultaneously. I’m seriously considering adding this package’s functionality to the BLS package I’m working on. Several programs have forecasting functions, most notable is Excel but the problem with these programs is, Read More