ukdemo | R Documentation |
This dataset comes from the Guardian's Data Blog and includes five financial demographic variables.
ukdemo
A data frame with 12 observations on the following 6 variables.
Region in the United Kingdom
Average regional debt, not including mortgages, in pounds
Percent unemployment
Average house price, in pounds
Average hourly pay, in pounds
Retail price index, which is standardized to 100 for the entire UK, and lower index scores correspond to lower prices
The data was described in the Guardian Data Blog: https://www.theguardian.com/news/datablog/interactive/2011/oct/27/debt-money-expert-facts, retrieved 2011-11-01.
Guardian Data Blog
library(ggplot2)
ggplot(ukdemo, aes(x = pay, y = rpi)) +
geom_point() +
labs(x = "Average hourly pay", y = "Retail price index")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.