Jump to content

Datasets.load

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Bquast (talk | contribs) at 10:59, 3 January 2020 (add OS, use deeplink). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
datasets.load
Original author(s)Bastiaan Quast
Initial release14 December 2016 (2016-12-14)
Stable release
1.0.0 / 12 December 2019; 5 years ago (2019-12-12)
Written inR
Operating systemWindows, MacOS, Linux
Size530.8 kB (v. 1.0.0)
LicenseGPL v3
Websitecran.r-project.org/package=datasets.load

datasets.load is an R package and RStudio plugin, that provides a both Graphical User Interface (GUI) as well as a Command Line Interface for loading datasets. Normally, R only makes datasets of loaded packages visible, datasets.load shows the list of all installed datasets on the local library, including datasets included with packages that haven't been loaded. It is one of the top 10% of most downloaded R packages.

R datasets

R functionality is extendible using extensions call R packages. The central place to store package is the Central R Archive network (CRAN). From CRAN, R packages can be installed using the command:

install.packages()

Once installed, R packages can be loaded using the command:

library()

After a package has been loaded, objects available from the package - such as functions and datasets - can be accessed.

The available datasets can listed using the command:

data()

However, datasets from packages that are not loaded, are not listed. As a result, many R users have access to datasets on their local install that are never used. The datasets.load packages addresses this by listed all datasets that are in any packages installed (loaded or not loaded).

Usage

datasets.load demo

A video demonstrating the GUI usage is available via the thumbnail on the right and on YouTube.

The usage of datasets.load's Command Line Interface is demonstrated in the code snippet below.

> # install the datasets.load package
> install.packages('datasets.load')

> # load the datasets.load package
> library(datasets.load)

> # list the objects in the package (all functions)
> ls("package:datasets.load")
[1] "alldata"        "browseDatasets" "datasets"       "datasets.load"  "getDatasetInfo" "printDatasets" 
[7] "promptDatasets"

> # show all datasets (in a new window)
> datasets()


Functionality

The basic functionality of datasets.load is to expose all installed datasets to the user, including those in packages that are not loaded. There is a Command Line Interface which can be user from any R terminal.

In addition to this, there is also a Graphical User Interface for the RStudio Integrated Development Environment, using RStudio Addins.

Reception

The initial release of version 0.1.0 took place in December 2016, and averaged a download rate of 1,000 times per month, from the RStudio servers alone. With the release of version 0.3.0 in 2018, the download rate increased to 2,000 times per month, putting the package in the 9th percentile of most popular R packages.[1] The package was reviewed in the 2017 article "R Packages worth a look" on Data Analytics & R[2], which further increased usage. It is also frequently preinstalled on university computers[3], in order to help make R more accessible to students.

Version 1.0.0 was released on 12 December 2019[4].

The RStudio CRAN mirror download logs [5] show that the package is downloaded on average about 2,000 times per month from those servers [6], with a total of over 55,000 downloads since the first release [7], according to RDocumentation.org, this puts the package in the 9th percentile of most popular R packages [8].

References

  1. ^ "bquast/datasets.load". GitHub. Retrieved 2018-09-16.
  2. ^ Laux, Michael (2017-01-05). "R Packages worth a look". Data Analytics & R. Archived from the original on 2020-01-03. Retrieved 2020-01-03.
  3. ^ "R packages installed - ITS - Carlpedia - Carleton College Wiki". wiki.carleton.edu. Archived from the original on 2020-01-03. Retrieved 2020-01-03.
  4. ^ Quast, Bastiaan (2020-01-03), Tools for view datasets in RVisual interface for loading datasets in RStudio from all installed (unloaded) packages.: bquast/datasets.load, retrieved 2020-01-03
  5. ^ "RStudio CRAN logs".
  6. ^ "CRANlogs datasets.load package".
  7. ^ "CRANlogs datasets.load package".
  8. ^ "RDocumentation rnn".