Skip to content
Snippets Groups Projects
checkStartEndDate.Rd 706 B
Newer Older
  • Learn to ignore specific revisions
  • \name{checkStartEndDate}
    \alias{checkStartEndDate}
    \title{checkStartEndDate}
    \usage{
    
    checkStartEndDate(StartDate, EndDate, interactive = TRUE)
    
    }
    \arguments{
      \item{StartDate}{string}
    
      \item{EndDate}{string}
    
      \item{interactive}{logical Option for interactive mode.
      If true, there is user interaction for error handling and
      data checks.}
    }
    \value{
    
    vector where first value is StartDate, second is EndDate
    
    Checks that the start date is before the end date.  If not,
    it will give the user the opportunity to correct, otherwise
    will create a warning.
    
    }
    \examples{
    startDate <- '1985-01-01'
    endDate <- '1990-01-01'
    
    checkStartEndDate(startDate, endDate)
    
    Laura A DeCicco's avatar
    Laura A DeCicco committed
    \keyword{WRTDS}