Skip to content
Loading toy datasets in Pharo
Smalltalk HTML
Branch: master
Clone or download
AtharvaKhare Added support to individually download datasets
The dataset source url has been changed to:
    https://github.com/AtharvaKhare/DataSetFiles
All the datasets are stored as csv files.

Added following messages
	- DataSet downloadXYZ
	- DataSet downloadAll
	- DataSet availableDataSet
Latest commit 7475d68 Aug 6, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
BaselineOfDataSet Added common toy datasets and their tests Aug 4, 2019
DataSet-Tests Added common toy datasets and their tests Aug 4, 2019
DataSet Added support to individually download datasets Aug 6, 2019
data Added support to individually download datasets Aug 6, 2019
resources/ci
.gitignore
.project
.properties Initial commit Aug 4, 2019
.smalltalk.ston Added travis.yml and README.md Aug 4, 2019
.travis.yml
LICENSE Initial commit Aug 4, 2019
README.md Added support to individually download datasets Aug 6, 2019

README.md

Pharo DataSet

Build Status

DataSet library is used to load toy datasets in Pharo. The datasets are loaded as DataFrame objects.

Installation

To install DataSet, go to the Playground (Ctrl+OW) in your fresh Pharo image and execute the following Metacello script (select it and press Do-it button or Ctrl+D):

Metacello new
  baseline: 'DataSet';
  repository: 'github://AtharvaKhare/DataSet';
  load.

Usage

To see all the available datasets, use DataSet availableDataSets.

To load a dataset, using DataSet loadXYZ. For example:

df := DataSet loadBoston.

Loading a new dataset involves downloading it's csv to local filesystem followed by reading it in DataFrame. You can preemptively download datasets by:

"Downloads a single dataset"
DataSet downloadBoston.

"Downloads all datasets"
DataSet downloadAll.

This command skips downloading if dataset already exists. DataSets are stored in data folder of this repo in your filesystem.

You can’t perform that action at this time.