us_time_survey | R Documentation |
Average Time Spent on Activities by Americans
us_time_survey
A data frame with 11 rows and 8 variables.
Year data collected
Average hours per day spent on household activities - travel included
Average hours per day spent eating and drinking including travel.
Average hours per day spent on leisure and sports - including travel.
Average Hours spent sleeping.
Average hours spent per day caring for and helping children under 18 years of age.
Average hours spent working for those employed. (15 years and older)
Average hours per day spent working on days worked (15 years and older)
library(ggplot2)
us_time_survey$year <- as.factor(us_time_survey$year)
ggplot(us_time_survey, aes(year, sleeping)) +
geom_point(alpha = 0.3) +
labs(
x = "Year",
y = "Average hours spent Sleeping",
title = "US Average hours spent sleeping, 2009 - 2019"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.