One summary of the CPS, by reporting all year-by-year raw counts of the microdata for main demographic variables. In other words, it tabulates all the unique values of each main variable, and shows its sample size.
An object of class
tbl_df (inherits from
data.frame) with 3258 rows and 5 columns.
The Vignette on CPS.
Name of the variable, as it appears in the CPS extract
Year of the November supplement
Name (or label) of the value in the November supplement
The integer value of the value in the value. The name and value
together form the labelled class. See the
Number of raw observations (sample size) in the November supplement of the CPS.
head(cps_onewaytabs) #> # A tibble: 6 × 5 #> variable year name value n #> <chr> <dbl> <chr> <dbl> <int> #> 1 sex 2004 male 1 67937 #> 2 sex 2006 male 1 66195 #> 3 sex 2008 male 1 64595 #> 4 sex 2010 male 1 65349 #> 5 sex 2012 male 1 64832 #> 6 sex 2014 male 1 66091