Skip to contents

Print a datalight object

Usage

# S3 method for datalight
print(x, ...)

Arguments

x

A Datafaro's datalight json object

...

Other arguments passed on to methods

Value

a print of the object. Invisible x

Examples

if (FALSE) {
  .res <- jsonlite::toJSON(
      list(
          data = mtcars,
          dictionary = list(),
          metadata = list(next_update = Sys.Date() + 30),
          cached = Sys.Date(),
          slug = "mtcars"
       )
   )
  mi_tibble <- as_datalight(.res)
  print(mi_tibble)
}