Description Usage Arguments Examples
View source: R/calc_nngeo_and_save.R
Wrapper function to have the (i) nearest neighbour and (ii) save while iterating over large dataset. This is to reduce the risk of loosing the work, if things fail or are switched off :) The OSN data set for 2019 is about 7 mio flights without id for lat/lon. That runs for days ...
1 | calc_nngeo_and_save(.sf_pts, .poly, .prefix, .pth = pth, ...)
|
.sf_pts |
sf dataframe of lat/lon |
.poly |
world polygons |
.prefix |
any code for the tmp folder |
.pth |
path to store temp files |
1 2 3 4 | ## Not run:
calc_nngeo_and_save(sf_pts, world, "DEP")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.