Learn R Programming

r5r (version 0.7.0)

assert_points_input: Assert class of origin and destination inputs and the type of its columns

Description

Assert class of origin and destination inputs and the type of its columns

Usage

assert_points_input(df, name)

Arguments

df

Any object.

name

Object name.

Value

A data.frame with columns id, lon and lat.

See Also

Other support functions: assert_breakdown_stat(), assert_decay_function(), check_connection(), fileurl_from_metadata(), find_snap(), posix_to_string(), select_mode(), set_max_lts(), set_max_rides(), set_max_street_time(), set_n_threads(), set_progress(), set_speed(), set_suboptimal_minutes(), set_verbose(), stop_r5(), street_network_to_sf(), transit_network_to_sf()