View source: R/calc_distance.R
intersection_traj_reg | R Documentation |
If both arrival and departure are inside region, we return NA
intersection_traj_reg(
.enquete,
region_shape,
arrival = "nom_site_enq",
departure = "ville_res",
output_prefix = "result"
)
.enquete |
enquete part of a geocoded eva_data object |
region_shape |
sf object. A Polygon of the region to study |
arrival |
names of the arrival point. the corresponding variable _lon _lat must exist in enquete We assume that all arrival points are in the region |
departure |
names of the departure point. the corresponding variable _lon _lat must exist in enquete |
output_prefix |
prefix used for the output columns |
a data.frame the same length as enquete with 3 variables id_quest result_lon result_lat
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.