The result of data(...) is of class 'packageIQR'. You can access the contents of the file that is being produced by looking at the 'results' element like so:
data(package = 'ggplot2')$results
Then, just wrap in as.data.frame to make it a nicer look, and customize from there:
as.data.frame(data(package = 'ggplot2')$results)