SigmaMonstR / digIt

A simple wrapper to dig into new example datasets for data science and statistics.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

digIt

A simple R wrapper to dig into new example datasets for data science and statistics. This wrapper set simplifies access to data by loading datasets directly into memory from an AWS repository or downloads a zip file to the working directory. This is a very early version of the wrapper.

Dependencies

Wrapper relies on the rio, DT, and rgdal libraries.

Install

Install devtools, then run the following command:

library(devtools)
install_github("SigmaMonstR/digIt", force = TRUE)
library(digIt)

Usage

digList()

Returns list of available datasets

digList(detail = FALSE)
  • Args:

    • detail = determines if description will be provided - renders in data tables format(default = FALSE)
  • Returns:

    • List of example datasets

digIt()

Retrieves example data, loads either to memory or downloads locally.

digIt("stopwords")
  • Args:
    • dataset = string value containing name of dataset
    • download = downloads a .zip file of data and readme into working directory, otherwise, loads data into memory. (default = FALSE)
    • readme = prints readme (default = FALSE)
  • Returns:
    • dataset as a local download (download = TRUE) or in R environment (download = FALSE)

About

A simple wrapper to dig into new example datasets for data science and statistics.


Languages

Language:R 100.0%