tablecloth
tablecloth copied to clipboard
dataset creation should allow to read input stream
as ds/->dataset does so
Hmmm... it should now. What's the error?
indeed, it does work:
(api/dataset (io/input-stream "https://raw.githubusercontent.com/scicloj/tablecloth/refs/heads/master/data/family.csv")
{:file-type :csv}
)
;;=> _unnamed [5 5]:
;;
;; | family | dob_child1 | dob_child2 | gender_child1 | gender_child2 |
;; |-------:|------------|------------|--------------:|--------------:|
;; | 1 | 1998-11-26 | 2000-01-29 | 1 | 2 |
;; | 2 | 1996-06-22 | | 2 | |
;; | 3 | 2002-07-11 | 2004-04-05 | 2 | 2 |
;; | 4 | 2004-10-10 | 2009-08-27 | 1 | 1 |
;; | 5 | 2000-12-05 | 2005-02-28 | 2 | 1 |
;;