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.

cps_onewaytabs

Format

An object of class tbl_df (inherits from tbl, data.frame) with 3258 rows and 5 columns.

See also

The Vignette on CPS.

variable

Name of the variable, as it appears in the CPS extract

year

Year of the November supplement

name

Name (or label) of the value in the November supplement

value

The integer value of the value in the value. The name and value together form the labelled class. See the vignette("derived") vignette.

n

Number of raw observations (sample size) in the November supplement of the CPS.

Examples

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