Class: Datasets::Diamonds

Inherits:
Ggplot2Dataset show all
Defined in:
lib/datasets/diamonds.rb

Defined Under Namespace

Classes: Record

Constant Summary collapse

COLUMN_NAME_MAPPING =
{
}

Instance Attribute Summary

Attributes inherited from Dataset

#metadata

Instance Method Summary collapse

Methods inherited from Ggplot2Dataset

#each

Methods inherited from Dataset

#clear_cache!, #to_table

Constructor Details

#initializeDiamonds

Returns a new instance of Diamonds.



16
17
18
19
20
21
# File 'lib/datasets/diamonds.rb', line 16

def initialize()
  super("diamonds")
  @metadata.id = "diamonds"
  @metadata.name = "Diamonds"
  @metadata.licenses = ["CC0-1.0"]
end