Available_Printing: Printing Utilities for Listing Available Datasets

Description Usage Arguments Value Examples

Description

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

Usage

1
2
3
4
5
## 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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# check to make sure there are requests still available
if(rate_limit_check(quiet = TRUE) > 10){

 available_datasets_2018 <- tt_datasets(2018)
 print(available_datasets_2018)

 all_available_datasets <- tt_available()
 print(all_available_datasets)

}

tidytuesdayR documentation built on Feb. 1, 2022, 9:07 a.m.