allTheData: Search for all sample datasets in all currently installed...

View source: R/functions.R

allTheDataR Documentation

Search for all sample datasets in all currently installed packages.

Description

A goal of this function is to be able to quickly filter through currently available datasets and find ones that meet your needs so you're not using the same old 'mtcars' and 'iris' for everything.

Usage

allTheData(verbose = T)

Value

A 'data.frame' with columns 'Package': name of the package that provides that dataset, 'LibPath': path where that package is currently installed, 'Item': the name of the dataset, 'Title': a brief description of the dataset, 'Class': the class of the object listed in 'Item' (if multiple classes, they are delimited by semicolons),'IsDataFrame': whether or not the object listed in 'Item' inherits from 'data.frame','NumberNonNumeric': number of columns that are not 'numeric' ('character', 'factor', 'POSIXct', etc.),'Rows': number of rows in the 'Item' if applicable,'Cols': number of columns in the dataset in the 'Item' if applicable.

Examples

## Not run:  allTheData() 

bokov/tidbits documentation built on Jan. 26, 2024, 6:25 p.m.