Movies Collection demo in GT
This page is a demo for inspecting a GtRmMovieCollection
in GemStone, complementing similar demos in Python and GemStone.
GemStone: Movies Collection demo in GemStone
Installing NeoCSV: This example requires loading NeoCSV in GT.
Metacello new repository: 'github://svenvc/NeoCSV/repository'; baseline: 'NeoCSV'; load.
Loading the data
The following snippets import the movie collection data.
dataFile := FileLocator gtResource / 'feenkcom' / 'gtoolkit-demos' / 'data' / 'imdb' / 'Movies.csv'. fullData := dataFile readStreamDo: [ :aStream | (NeoCSVReader on: aStream) upToEnd ].
movieCollection := GtRmMovieCollection fromRawData: fullData copyWithoutFirst withProperties: fullData first