Fork me on GitHub
#clerk
<
2023-03-11
>
Zmicier Misiuk16:03:14

Hi all! I'm playing with clerk and tech.v3.dataset now and have a question. I prepared data with tech.v3 and trying to plot with with clerk/plotly or clerk/vg and get errors like

Unhandled java.lang.ClassCastException
class tech.v3.dataset.impl.column.Column cannot be cast to class clojure.lang.IPersistentVector (tech.v3.dataset.impl.column.Column is in unnamed module of loader clojure.lang.DynamicClassLoader @2441b2dd; clojure.lang.IPersistentVector is in unnamed module of loader 'app')
As I understand dataset should be transformed before using in clerk visual tools. Could you please give me direction, how it can be easily transformed.

Zmicier Misiuk16:03:20

Found the method tech.v3.dataset/rows. It returns suitable data for vega. Thank you all 🙂

🙌 6