R/class-insee_data_frame.R

Defines functions print.insee_data_frame

#' @export

print.insee_data_frame <- function(x, ...) {

  print.data.frame(x, ...)
  
  cat(
    "+--------------------------------------------------------------------------------+\n",
    "| Source : ",  attr(x, "source")$producteur, "\n",
    "|   * url : ", attr(x, "source")$url, "\n",
    "|   * info diffusion : ", attr(x, "source")$infos_diffusion, "\n",
    "+--------------------------------------------------------------------------------+\n",
    sep = ""
  )

}
InseeFrLab/DoReMIFaSol documentation built on April 13, 2025, 11:01 p.m.