Lisp-Stat / documentation

Documentation for Lisp-Stat
Microsoft Public License
0 stars 4 forks source link

Correctly refer to column in Getting Started writeup #7

Closed braised-babbage closed 3 years ago

braised-babbage commented 3 years ago

I was walking through the Getting Started writeup and spotted this. I will note that the (summary cars) line from that document also did not work for me, but I am not sure of the right fix.

Symbolics commented 3 years ago

Thanks very much. I suspect the problem is a bit farther up. Can you try replacing

(defparameter cars
  (dfio:vl-to-df
    (dex:get
      "https://raw.githubusercontent.com/vega/vega-datasets/master/data/cars.json"
      :want-stream t)))

With

(defdf cars
  (dfio:vl-to-df
    (dex:get
      "https://raw.githubusercontent.com/vega/vega-datasets/master/data/cars.json"
      :want-stream t)))

and see if that works for you? The defdf macro is the one that sets up the short cut access to the individual variables.

CLAassistant commented 3 years ago

CLA assistant check
All committers have signed the CLA.

braised-babbage commented 3 years ago

Thanks very much. I suspect the problem is a bit farther up. Can you try replacing

(defparameter cars
  (dfio:vl-to-df
    (dex:get
    "https://raw.githubusercontent.com/vega/vega-datasets/master/data/cars.json"
    :want-stream t)))

With

(defdf cars
  (dfio:vl-to-df
    (dex:get
    "https://raw.githubusercontent.com/vega/vega-datasets/master/data/cars.json"
    :want-stream t)))

and see if that works for you? The defdf macro is the one that sets up the short cut access to the individual variables.

Yes, that works. I've updated this accordingly.