Skip to contents

metamorphose.vicinity_raw() is a metamorphose method that metamorphoses an instance of a class into an instance of a different (non-child) class. This method is implemented for the ready4 submodule class for tibble object lookup table of metadata about raw (un-processed) spatial data to import. The function is called for its side effects and does not return a value.

metamorphose method applied to VicinityLocalProcessed

metamorphose method applied to VicinityLocalRaw

Usage

metamorphose.vicinity_raw(
  x,
  y_VicinityLookup = NULL,
  package_1L_chr,
  raw_fls_dir_1L_chr,
  processed_fls_dir_1L_chr = "data",
  lup_r4_name,
  crs_nbr_dbl = NA_real_,
  overwrite_1L_lgl = F
)

# S4 method for vicinity_raw
metamorphose(
  x,
  y_VicinityLookup = NULL,
  package_1L_chr,
  raw_fls_dir_1L_chr,
  processed_fls_dir_1L_chr = "data",
  lup_r4_name,
  crs_nbr_dbl = NA_real_,
  overwrite_1L_lgl = F
)

# S4 method for VicinityLocalProcessed
metamorphose(x)

# S4 method for VicinityLocalRaw
metamorphose(x, imports_chr, raw_fls_dir_1L_chr, write_1L_lgl)

Arguments

x

An object of class VicinityLocalRaw

y_VicinityLookup

PARAM_DESCRIPTION, Default: NULL

package_1L_chr

Package (a character vector of length one)

raw_fls_dir_1L_chr

Raw files directory (a character vector of length one)

processed_fls_dir_1L_chr

Processed files directory (a character vector of length one), Default: 'data'

lup_r4_name

PARAM_DESCRIPTION

crs_nbr_dbl

Coordinates reference system number (a double vector), Default: NA

overwrite_1L_lgl

Overwrite (a logical vector of length one), Default: F

imports_chr

Imports (a character vector)

write_1L_lgl

Write (a logical vector of length one)

Value

Z (Look up tables for spatiotemporal data)

Y (Look up tables for spatiotemporal data)

X (Object defining data to be saved in local directory in a processed (R) format.)