Skip to content
Snippets Groups Projects
formatCheckDate.Rd 824 B
Newer Older
  • Learn to ignore specific revisions
  • % Generated by roxygen2 (4.0.2): do not edit by hand
    
    \name{formatCheckDate}
    \alias{formatCheckDate}
    \title{formatCheckDate}
    \usage{
    
    Laura A DeCicco's avatar
    Laura A DeCicco committed
    formatCheckDate(Date, dateString, interactive = TRUE)
    
    Laura A DeCicco's avatar
    Laura A DeCicco committed
    \item{Date}{string}
    
    Laura A DeCicco's avatar
    Laura A DeCicco committed
    \item{dateString}{string used in either error message or interactive message. An example would be "startDate"}
    
    Laura A DeCicco's avatar
    Laura A DeCicco committed
    \item{interactive}{logical Option for interactive mode.  If true, there is user interaction for error handling and data checks.}
    
    Laura A DeCicco's avatar
    Laura A DeCicco committed
    condition logical if TRUE,
    
    Laura A DeCicco's avatar
    Laura A DeCicco committed
    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.
    
    dateString <- 'startDate'
    
    formatCheckDate(Date, dateString, interactive = FALSE)
    }
    
    Laura A DeCicco's avatar
    Laura A DeCicco committed
    \keyword{WRTDS}