Permalink
Browse files

adding the happy example dataset

  • Loading branch information...
1 parent 505b483 commit b4860e4c36f5c03f45917c8d94ce771942da020d @briatte briatte committed Jul 30, 2013
Showing with 30 additions and 0 deletions.
  1. BIN data/happy.rda
  2. +30 −0 man/happy.Rd
View
BIN data/happy.rda
Binary file not shown.
View
30 man/happy.Rd
@@ -0,0 +1,30 @@
+\docType{data}
+\name{happy}
+\alias{happy}
+\title{Data related to happiness from the General Social Survey, 1972-2006.}
+\format{A data frame with 51020 rows and 10 variables}
+\description{
+ This data extract is taken from Hadley Wickham's \code{productplots} package.
+ The original description follows, with minor edits.
+
+ The data is a small sample of variables related to
+ happiness from the General Social Survey (GSS). The GSS
+ is a yearly cross-sectional survey of Americans, run from
+ 1972. We combine data for 25 years to yield 51,020
+ observations, and of the over 5,000 variables, we select
+ nine related to happiness:
+}
+\details{
+ \itemize{
+ \item age. age in years: 18--89.
+ \item degree. highest education: lt high school, high school, junior college, bachelor, graduate.
+ \item finrela. relative financial status: far above, above average, average, below average, far below.
+ \item happy. happiness: very happy, pretty happy, not too happy.
+ \item health. health: excellent, good, fair, poor.
+ \item marital. marital status: married, never married, divorced, widowed, separated.
+ \item sex. sex: female, male.
+ \item wtsall. probability weight. 0.43--6.43.
+ }
+}
+\keyword{datasets}
+

0 comments on commit b4860e4

Please sign in to comment.