Learn R Programming

tidytuesdayR (version 1.1.2)

print.tt_data: print methods of the tt objects

Description

In tidytuesdayR there are nice print methods for the objects that were used to download and store the data from the TidyTuesday repo. They will always print the available datasets/files. If there is a readme available, it will try to display the TidyTuesday readme.

Usage

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

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

Value

used to show readme and list names of available datasets

x, invisibly.

Arguments

x

a tt_data or tt object

...

further arguments passed to or from other methods.

Examples

Run this code
if (FALSE) { # interactive()
tt <- tt_load_gh("2019-01-15")
print(tt)

tt_data <- tt_download(tt, files = "All")
print(tt_data)
}

Run the code above in your browser using DataLab