Description Usage Arguments Value Examples
This utility function saves temporary data prep results as fst into a given subfolder of path, i.e. tmp! The function also coerces the sf object to a normal data frame by recovering the lat/lon and dropping the geometry. This allows the tibble to be saved as fst (binary format).
1 | save_tmp(.ds, .prefix, .pth = pth)
|
.ds |
processed tibble requiring an (additional) id colum |
.prefix |
a tag to recall what data subset is processed, e.g. departure side (DEP) |
.pth |
path to store the temp files while iterating |
no return as file will be written out to pth folder the function is chatty (ui_info)
1 2 3 4 | ## Not run:
save_tmp(rq, .prefix = "DEP")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.