R/ZeroPadding.R

ZeroPadding <- R6::R6Class(
  "ZeroPadding",
  inherit = exceedapi::Step,

  public = list(

    #' transform the data by zero-padding the exceed_id
    transform = function(.data, ...) {
      mutate(.data, exceed_id = str_pad(exceed_id, 6, pad = 0))
    }

  )
)
legenepi/exceed-pipelines documentation built on Oct. 22, 2024, 7:48 p.m.