Getting information about available datasets
The datasets of all installed (but not necessarily loaded) packages is returned with data(package = .packages(all.available = TRUE))
.
The datasets for a particular package can be queried with
data(package = 'ggplot2')
.