Skip to content
Snippets Groups Projects
formatCheckParameterCd.Rd 642 B
Newer Older
  • Learn to ignore specific revisions
  • \name{formatCheckParameterCd}
    \alias{formatCheckParameterCd}
    \title{formatCheckParameterCd}
    \usage{
      formatCheckParameterCd(ParameterCd, interactive = TRUE)
    }
    \arguments{
      \item{ParameterCd}{string to check}
    
      \item{interactive}{logical Option for interactive mode.
      If true, there is user interaction for error handling and
      data checks.}
    }
    \value{
      ParameterCd string
    }
    \description{
      Checks that the parameter code is 5 digits. If it is
      less, it will pad the string with zeros. If more, ask the
      user to re-enter.
    }
    \examples{
    pCode <- '01234'
    formatCheckParameterCd(pCode, interactive = FALSE)
    }
    
    \keyword{flow}
    
    Laura A DeCicco's avatar
    Laura A DeCicco committed
    \keyword{WRTDS}