View source: R/interactive_download.R
argentum_interactive_download | R Documentation |
This function provides an interactive interface to download WFS layers. Users can select an organization, choose specific layers or download all, and specify the output format and directory.
argentum_interactive_download(output_dir = NULL)
output_dir |
Optional; Path to the directory where files will be saved. If NULL, user will be prompted |
Download WFS Layers Interactively
Invisibly returns a data frame with download results
# Try to download interactively
tryCatch({
results <- argentum_interactive_download()
}, error = function(e) {
message("Error: ", e$message)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.