R/asDate.R

#' as.Date with format = "\%Y-\%m-\%d"
#' 
#' This is just a wrapper for the standard INCA date format
#' @param ... arguments passed to \code{\link{as.Date}}
#' @export
#' @examples
#' asDate(c("", "", "2014-10-10"))
asDate <- function (...){
  as.Date(..., format = "%Y-%m-%d")
}

Try the rccdates package in your browser

Any scripts or data that you put into this service are public.

rccdates documentation built on May 2, 2019, 1:46 p.m.