ghost_intersect: Helper function to find ghost hostel locations

ghost_intersectR Documentation

Helper function to find ghost hostel locations

Description

ghost_intersect finds ghost hostel locations from a set of clusters.

Usage

ghost_intersect(property, distance, min_listings)

Arguments

property

An sf data frame of STR listings nested by cluster.

distance

A numeric scalar. The radius (in the units of the CRS) of the buffer which will be drawn around points to determine possible ghost hostel locations.

min_listings

A numeric scalar. The minimum number of listings to be considered a ghost hostel.

Details

A function for finding ghost hostel locations from a set of point clusters.

Value

The output will be 'property', trimmed to valid ghost hostel locations and with additional fields added.


UPGo-McGill/strr documentation built on Feb. 24, 2024, 6:15 p.m.