For ACS data, margins of error will be updated appropriately, using
the functionality in estimate()
.
Arguments
- data
The output of
cens_get_dec()
orcens_get_acs()
- ...
The variables of interest, which will be kept. Remaining variables will be marginalized out.
Value
A new data frame that has had group_by()
and summarize()
applied.
Examples
if (FALSE) {
d_cens = cens_get_acs("state", "B25042")
cens_margin_to(d_cens, bedrooms)
}