dfio

2021-08-07

Common Lisp library for reading and writing data-frame data.

Upstream URL

github.com/Lisp-Stat/dfio

Author

Tamas Papp <tkpapp@gmail.com>

Maintainer

Steve Nunez <steve@symbolics.tech>

License

ms-pl

README.md

Contributors Forks Stargazers Issues MS-PL License LinkedIn


Logo

Data Frame I/O

A system for file and network I/O for data frames
Explore the docs »

Report Bug · Request Feature · Reference Manual

Table of Contents

  1. About the Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Resources
  6. Contributing
  7. License
  8. Contact

About the Project

A data frame isn't much use if you have to type all the data in by hand. This system provides I/O functions to read data sets from delimited (CSV, TSV, etc.) files. File may be either on local disk or accessible from network locations.

Built With

Getting Started

To get a local copy up and running follow these steps:

Prerequisites

An ANSI Common Lisp implementation. Developed and tested with SBCL and CCL.

Installation

  1. Clone the repository
    cd ~/quicklisp/local-projects &&
    git clone https://github.com/Lisp-Stat/dfio.git
    
  2. Reset the ASDF source-registry to find the new system (from the REPL)
    (asdf:clear-source-registry)
  3. Load the system
    (ql:quickload :dfio)

Usage

Create a data frame from a file named "computers.csv" on the local disk:

(defparameter *df* (dfio:csv-to-data-frame
		      (uiop:read-file-string "computers.csv")))

For more examples, please refer to the Documentation.

Roadmap

See the open issues for a list of proposed features (and known issues).

Resources

This system is part of the Lisp-Stat project; that should be your first stop for information. Also see the community page for more information.

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated. Please see CONTRIBUTING for details on the code of conduct, and the process for submitting pull requests.

License

Distributed under the MS-PL License. See LICENSE for more information.

Contact

Project Link: https://github.com/lisp-stat/dfio

Dependencies (6)

  • alexandria
  • anaphora
  • cl-csv
  • clunit2
  • data-frame
  • let-plus

Dependents (2)

  • GitHub
  • Quicklisp
  • Sponsor