powered by
Prep Polsby Popper Perimeter Dataframe
redist.prep.polsbypopper(shp, planarize = 3857, perim_path, ncores = 1)
A SpatialPolygonsDataFrame or sf object. Required unless "EdgesRemoved" and "logSpanningTree" with adjacency provided.
a number, indicating the CRS to project the shapefile to if it is latitude-longitude based. Set to FALSE to avoid planarizing.
A path to save an Rds
the number of cores to parallelize over
A perimeter dataframe
# NOT RUN { data(fl25) perim_df <- redist.prep.polsbypopper(shp = fl25) # }
Run the code above in your browser using DataLab