Creates sf of geometry type point with a count of features that match the applied time or distance filter

create_cumulative_sf(
  odm_object,
  filter_value_type,
  accessibility_filter_value,
  search_direction
)

Arguments

odm_object

of type list encompassing a duration and a distance matrix, the source and target locations. Created by using either calc_odm or calc_odm_multicore

filter_value_type

A string, "time" or "distance"

accessibility_filter_value

A numeric value of minutes or meters

search_direction

A string, "to_target" or "from_target"

Value

sf object of geometry type point

See also

calc_odm() or calc_odm_multicore() for odm_object creation and create_cumulative_by_cat_sf to count features of a specific category up to a threshold distance or time

Examples

data(testdata) od_result <- testdata$od_result output_sf <- create_cumulative_sf( odm_object = od_result, filter_value_type = "distance", accessibility_filter_value = 750, search_direction = "to_target" )