all_geog_constraint_income: Create individual income constraint list to a set of...

View source: R/a_class-methods_helpers.R

all_geog_constraint_incomeR Documentation

Create individual income constraint list to a set of geographies

Description

Create a new individual income constraint list to the mapping between a a set of macro datasets and a matching set of micro dataset (supplied as class 'synthACS').

Usage

all_geog_constraint_income(obj, method = c("synthetic", "macro.table"))

Arguments

obj

An object of class "synthACS".

method

One of c("synthetic", "macro.table"). Specifying "synthetic" indicates that constraints are built by marginalizing the synthetic micro datasets. Specifying "macro.table" indicates that the constraints are build from the data in the base ACS tables.

See Also

all_geogs_add_constraint

Examples

## Not run: 
 # assumes that obj of class 'synthACS' already exists in your environment
 i1 <- all_geog_constraint_income(obj, "synthetic")
 i2 <- all_geog_constraint_income(obj, "macro_table")

## End(Not run)

alexWhitworth/synthACS documentation built on Nov. 2, 2022, 9:14 a.m.