Description Usage Format Details Source Examples
This data set combines the Freddie Mac House Price Index with unemployment data.
1 |
An object of class tbl_df
(inherits from tbl
, data.frame
) with 25704 rows and 5 columns.
Data columns:
date
Date (year and month only)
state
The state
unemploy_perc
Unemployment, in percent
house_price_index
House Price Index, not seasonally adjusted
house_price_perc
Year-over-year percent change in House Price Index.
House Price Index: http://www.freddiemac.com/research/docs/states.xls
Unemployment: https://download.bls.gov/pub/time.series/la/la.txt
1 2 3 | library(lubridate)
ggplot(filter(house_prices, state == "California", year(date) > 2000),
aes(unemploy_perc, house_price_perc)) + geom_path()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.