(require("compute/electionSequence/electionClosedPrimary"))(geometry, optionsBag) → {*}
Here we are in the context of an election sequence.
Run a primary election for each party, then a general election.
Parameters:
Name | Type | Description |
---|---|---|
geometry |
* | |
optionsBag |
* |
Returns:
sequenceResults
- Type
- *
Methods
(inner) getPrimaryGeometry(geometry, partyIndex) → {*}
Get the geometry for a primary election.
Parameters:
Name | Type | Description |
---|---|---|
geometry |
* | |
partyIndex |
* |
Returns:
primaryGeometry
- Type
- *