Skip to contents

Register a city profile in the process-local registry

Usage

morie_fairness_register_city(profile, overwrite = FALSE)

Arguments

profile

A morie_city_profile.

overwrite

If FALSE (default), registering an existing name raises an error; pass TRUE to replace it.

Value

Invisibly returns the registered profile.

Examples

p <- morie_fairness_city_profile("demo_city2", area_col = "a")
morie_fairness_register_city(p)