ghost_cluster: Helper function to create potential ghost hostel clusters

ghost_clusterR Documentation

Helper function to create potential ghost hostel clusters

Description

Helper function to create potential ghost hostel clusters

Usage

ghost_cluster(property, distance, min_listings)

Arguments

property

A data frame of STR listings with sf or sp point geometries in a projected coordinate system.

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.

Value

The 'property' table, rearranged with one row per cluster.


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