R/types.castArray.R

Defines functions types.castArray

Documented in types.castArray

#' @title Cast array
#' @description Cast array is used for list objects
#' @param format no options (other than the default)
#' @param value lists, or valid JSON format arrays to cast
#' @rdname types.castArray
#' @export
#' 
#' @seealso \code{\link{types.castList}}, 
#' \href{https://specs.frictionlessdata.io//table-schema/#array}{Types and formats specifications} 
#' 
types.castArray <- function(format, value) {
  # .Deprecated(new = "types.castList", msg = "'types.castArray' is deprecated.\n Use 'types.castList' instead.")
  types.castList(format, value)
}
frictionlessdata/tableschema-r documentation built on Oct. 1, 2022, 11:44 a.m.