Available_Printing {tidytuesdayR}R Documentation

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 class 'tt_dataset_table'
print(x, ..., is_interactive = interactive())

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

Arguments

x

an object used to select a method.

...

further arguments passed to or from other methods.

is_interactive

is the console interactive?

Value

used for side effects to show the available datasets for the year or for all time.

Examples

# 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)

}

[Package tidytuesdayR version 1.0.3 Index]