degauss_run | R Documentation |
This function uses temporary CSV files and DeGAUSS commands
as system calls to docker
. Because of this approach,
caching of geocoding results or reuse of intermediate downloaded data
files are not possible, unless called from the same R session. See
the examples for a workaround.
degauss_run(.x, image, version = "latest", argument = NA, quiet = FALSE)
.x |
a data.frame or tibble to be input to a DeGAUSS container |
image |
name of DeGAUSS image |
version |
version of DeGAUSS image; will use latest version if not specified |
argument |
optional argument |
quiet |
suppress output from DeGAUSS container? |
.x
with additional returned DeGAUSS columns
## create a memoised version of degauss_run so repetitive calls are cached
## this can be useful during development of DeGAUSS pipelines
## Not run:
fc <- memoise::cache_filesystem(fs::path(fs::path_wd(), "data-raw"))
degauss_run <- memoise::memoise(degauss_run, omit_args = c("quiet"), cache = fc)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.