Either create file path for saving outputs or parse the meta data from a path
name_env_out(
x,
context_defn = c("vector", "filt_col", "level", "buffer", "res"),
parse = FALSE,
fill_null = FALSE,
x_null = 2,
...
)
Either dataframe with path(s) to parse (in column path
), character
vector of path(s) to search, or named list object.
Character vector of meta data names (in order)
Logical. If FALSE
(default) an out_dir
path will be returned rather
than parsed. Assumes the appropriate names can be found in x
.
Logical. If TRUE
, will fill up to x_null
definitions
with NULL (and issue a warning).
Numeric. Even if fill_null
is TRUE
, if there are more than
x_null
missing definitions, an error will be thrown.
Not used
If !parse
, tibble with columns:
Vector layer originally used to define area of interest
Column name from vector to filter to define area of interest
Level(s) of filt_col originally filtered to define area of interest
Any buffer around area of interest
Resolution of output raster in units of rasters crs
Full (relative) path including file_type
.
If !parse
, df
with additional column out_dir