Learn R Programming

tidytuesdayR (version 1.2.0)

tt_print: Printing Utilities for Listing Available Datasets

Description

printing utilities for showing the available datasets for a specific year or all time

Usage

# S3 method for tt_dataset_table
print(x, ..., is_interactive = interactive())

# S3 method for tt_dataset_table_list print(x, ..., is_interactive = interactive())

Value

x, invisibly

Arguments

x

an object used to select a method.

...

further arguments passed to or from other methods.

is_interactive

Whether the function is being used interactively.

Examples

Run this code
if (FALSE) { # interactive()
# check to make sure there are requests still available
if (rate_limit_check(quiet = TRUE) > 30) {
  available_datasets_2018 <- tt_datasets(2018)
  print(available_datasets_2018)

  all_available_datasets <- tt_available()
  print(all_available_datasets)
}
}

Run the code above in your browser using DataLab