Skip to contents

For ACS data, margins of error will be updated appropriately, using the functionality in estimate().

Usage

cens_margin_to(data, ...)

Arguments

data

The output of cens_get_dec() or cens_get_acs()

...

The variables of interest, which will be kept. Remaining variables will be marginalized out.

Value

A new data frame that has had dplyr::group_by() and dplyr::summarize() applied.

Examples

if (FALSE) { # \dontrun{
d_cens = cens_get_acs("state", "B25042")
cens_margin_to(d_cens, bedrooms)
} # }