View source: R/places and rays fcns.R
Takes population centers, represented as a shapefile (probably of places or sub-county divisions), with a column for population. For each larger region in the second argument, finds the largest population center of that larger area. Note do not include duplicate columns in the two supplied dataframes. Returns the largest population center in each larger region as a dataframe with point geometries
1 | largest.centers.in.region(centers, region)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.