The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
This vignette introduces some of the most common measures of
administrative splits. These functions are designed around common
concerns generalized to keeping together “political subdivisions”. See
the vignette “Using redistmetrics
” for the bare-bones of
the package.
We first load the redistmetrics
package and data from
New Hampshire. For any function, the shp
argument can be
swapped out for your data, county
for your administrative
unit, and the plans
argument can be swapped out for your
redistricting plans (be it a single plan, a matrix of plans, or a
redist_plans
object).
The most typical thing to check in a redistricting plan is how many counties are split by a plan. The units need not be counties, but are typically some form of administrative unit. (This is often of interest because, theoretically, each redistricting plan need only split one less county than it has districts.)
Every unit needs to be assigned to an administrative unit.
The number of administrative splits can be computed with:
Secondarily, we are often interested in how many municipalities are
split by a plan. These units are smaller and may not cover the entire
state. Units which are not assigned to a sub-administrative unit should
be assigned NA
.
The number of sub-administrative splits can be computed with:
(Often you would not check county
here, but instead some
unit smaller than a county.)
Beyond knowing how many administrative units are split, we may want to know how many are split more than once. We define splitting a unit more than once as a “multi-split”.
Every unit needs to be assigned to an administrative unit.
The number of multi-splits can be computed with:
Finally, if a state has a special condition, you may be interested in how many times a particular administrative unit is split. We count here the number of districts that appear within an administrative unit. Unlike most other functions, this returns a matrix, where rows are counties and columns are plans.
The number of splits for each county can be computed with:
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.