skip to main content
OSTI.GOV title logo U.S. Department of Energy
Office of Scientific and Technical Information

Title: daft

Abstract

Daft is a Haskell library that implements the key constructs of relational algebra via static structural typing. Its DataCube typeclass supports selection, projection, aggregation, disaggregation, natural joins, semijoins, and antijoins. Instances of DataCube include both map- and function-based representations. An additional abstract data type provides Vinyl-style, keyed relational tables for which an embedded domain-specific language compactly represents relational operations. Utility types and functions support serialization to tab-separated-value data files, JSON arrays, MongoDB documents, and PostgreSQL tables, including automatic detection and verification of the schema for the input data.

Developers:
 [1];  [1]
  1. National Renewable Energy Lab. (NREL), Golden, CO (United States)
Release Date:
Project Type:
Open Source, Publicly Available Repository
Software Type:
Scientific
Programming Languages:
Haskell
Licenses:
MIT License
Sponsoring Org.:
USDOE Laboratory Directed Research and Development (LDRD) Program

Primary Award/Contract Number:
Other Award/Contract Number:
AC36-08GO28308
Code ID:
25600
Site Accession Number:
NREL SWR-17-53
Research Org.:
National Renewable Energy Lab. (NREL), Golden, CO (United States)
Country of Origin:
United States

Citation Formats

Bush, Brian W., Hinkle, Jacob, and LDRD. daft. Computer software. https://www.osti.gov//servlets/purl/1513202. USDOE Laboratory Directed Research and Development (LDRD) Program. 1 Sep. 2018. Web. doi:10.11578/dc.20190516.1.
Bush, Brian W., Hinkle, Jacob, & LDRD. (2018, September 1). daft [Computer software]. https://www.osti.gov//servlets/purl/1513202. doi:10.11578/dc.20190516.1.
Bush, Brian W., Hinkle, Jacob, and LDRD. daft. Computer software. September 1, 2018. https://www.osti.gov//servlets/purl/1513202. doi:10.11578/dc.20190516.1.
@misc{osti_1513202,
title = {daft},
author = {Bush, Brian W. and Hinkle, Jacob and LDRD},
abstractNote = {Daft is a Haskell library that implements the key constructs of relational algebra via static structural typing. Its DataCube typeclass supports selection, projection, aggregation, disaggregation, natural joins, semijoins, and antijoins. Instances of DataCube include both map- and function-based representations. An additional abstract data type provides Vinyl-style, keyed relational tables for which an embedded domain-specific language compactly represents relational operations. Utility types and functions support serialization to tab-separated-value data files, JSON arrays, MongoDB documents, and PostgreSQL tables, including automatic detection and verification of the schema for the input data.},
url = {https://www.osti.gov//servlets/purl/1513202},
doi = {10.11578/dc.20190516.1},
year = {2018},
month = {9},
note =
}

Software:
Publicly Accessible Repository
https://github.com/NREL/daft

Save / Share: