Skip to contents

A guided prompt that walks from organization to service to layer, then either returns the data or writes it to disk. Intended for exploration at the console; every step it performs is available as a normal function call.

Usage

argentum_browse(action = c("read", "download"), dir = NULL)

Arguments

action

"read" returns the object, "download" writes files.

dir

Destination directory when action = "download".

Value

An sf object, a terra::SpatRaster, or a download report, depending on the path taken. NULL if the user cancels.

Examples

if (interactive()) {
  layer <- argentum_browse()
}