View source: R/fct_list_layers.R
list_layers | R Documentation |
list_layers
returns the name and path to layers from data
uploaded to the application as a tibble (data frame like object). If a GeoPackage is uploaded which
contains more than one layer, each layer and the path to that layer will be
recorded on a separate row of the returned tibble.
list_layers(f_path, f_name)
f_path |
A character vector of file paths for GeoPackage(s) uploaded by the user. |
f_name |
A character vector of file names of GeoPackage(s) uploaded by the user. |
A tibble with three columns: layers - layer name; layer_disp_name - clean and informative layer name for select input; file_path - temporary file path to data; and file_type - file type.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.