Skip to content
Snippets Groups Projects
formatCheckDate.Rd 782 B
Newer Older
  • Learn to ignore specific revisions
  • \name{formatCheckDate}
    \alias{formatCheckDate}
    \title{formatCheckDate}
    \usage{
    
    formatCheckDate(Date, dateString, interactive = TRUE)
    
    }
    \arguments{
      \item{Date}{string}
    
      \item{dateString}{string used in either error message or
      interactive message. An example would be "startDate"}
    
      \item{interactive}{logical Option for interactive mode.
      If true, there is user interaction for error handling and
      data checks.}
    }
    \value{
    
    Response to the date format checker.  If the date is not
    formated correctly, it will give the user the opportunity
    to correct, otherwise will create a warning.
    
    }
    \examples{
    Date <- '1985-01-01'
    dateString <- 'StartDate'
    formatCheckDate(Date, dateString, interactive = FALSE)
    }
    
    Laura A DeCicco's avatar
    Laura A DeCicco committed
    \keyword{WRTDS}