mv_create_shed: Create Ticket Shed

Description Usage Arguments Value

Description

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.

Usage

1
mv_create_shed(.data, primary, radius, power = 1)

Arguments

.data

A sf object

primary

GEOID value of the municipality that the ticket shed is for

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

Value

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.


slu-openGIS/movsr documentation built on June 4, 2019, 11:52 a.m.