Skip to contents

Helper function to prepare groups from a defined list.

Usage

group_from_defined_list(seed, target, zone_groups, settings)

Arguments

seed

The survey seed data.table.

target

The PUMS targets data.table.

zone_groups

a list of vectors of PUMA IDs as groups.

settings

a named list of project settings.

Value

A data.table with client_zone_id, zone_group, and zone_group_label