forked from tpapp/data-omnivore
-
Notifications
You must be signed in to change notification settings - Fork 2
/
pkgdcl.lisp
67 lines (56 loc) · 1.28 KB
/
pkgdcl.lisp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
;;; -*- Mode: LISP; Syntax: Ansi-Common-Lisp; Base: 10; Package: CL-USER -*-
;;; Copyright (c) 2021 Symbolics Pte. Ltd. All rights reserved.
(uiop:define-package #:dfio.decimal
(:use #:cl #:anaphora #:let-plus)
(:export
#:parse-rational-error
#:parse-rational
#:parse-real))
(uiop:define-package #:dfio.string-table
(:use #:cl
#:alexandria
#:anaphora
#:let-plus)
(:export
#:string-table
#:string-table-not-found
#:string-table-duplicate
#:string-table-count
#:string-table-strings
#:string-table-lookup
#:string-table-add
#:string-table-intern))
(uiop:define-package #:dfio.data-column
(:use #:cl
#:anaphora
#:dfio.decimal
#:dfio.string-table
#:let-plus)
(:export
#:data-column
#:data-column-add
#:data-column-counts
#:data-column-vector))
(uiop:define-package #:dfio
(:use #:cl
#:alexandria
#:anaphora
#:let-plus
#:data-frame
#:dfio.data-column)
(:import-from #:num-utils
#:as-alist)
(:export
;; Utility functions
#:string-to-keyword
#:string-to-symbol
#:symbol-name-to-pathname
;; Text delimited format
#:read-csv
#:write-csv
;; Lisp format
#:write-df
#:write-properties
#:save
;; Data loading
#:data))