Processing steps specification are stored in a template object. This will be typically handled internally.

processing_template(...)

# S3 method for default
processing_template(...)

# S3 method for processing_template
tidy(x, ...)

Arguments

...

further arguments passed to or from other methods(not currenctly used).

x

A processing_stepobject

Value

A list-like object storing processing steps.

A tibble representation of x

Examples

library(tidySpectR) # Creating a masking step template <- processing_template() %>% new_step(mask, list(from = 5, to = Inf), name = "mask") %>% new_step(bucket_uniform, list(N = 10), name = "bucket") tidy(template)
#> # A tibble: 2 x 4 #> num name method id #> <int> <chr> <chr> <chr> #> 1 1 mask mask mask_671766 #> 2 2 bucket bucket_uniform bucket_058614