Description Usage Arguments Value
Creates an object with all census tracts whose centroids fall within the specified radius of the primary feature. This primary feature must be the first feature listed in the input data object. Euclidean distance is used for this calculation. Once the relevant tracts are selected, a weight is calculated for each using inverse distance weighting. The power argument should be used to control this calculation process.
1 | mv_create_shed(.data, primary, radius, power = 1)
|
.data |
A sf object |
primary |
|
radius |
Euclidean distance in miles from the primary feature's centroid that defines the size of the ticket shed. |
power |
Power value for inverse distance weighting |
An sf
object with the tracts contained within the ticket shed as
well as the distance in kilometers from the primary feature's centriod
and the weight for each tract.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.