Flux::AnnotatedCSV
Inherits CSV < Reference < Object
Extensions to the base CSV class to support a set of annotation rows containing additional column metadat.
Annotations are rows that have been prefixed with a #. These must appear
prior to any headers or data.
Constants
ANNOTATION_CHAR = '#'
DIALECT = {
header: true,
annotations: ["group", "datatype", "default"],
commentPrefix: ANNOTATION_CHAR.to_s,
dateTimeFormat: "RFC3339",
}
Dialect options for query responses. See: https://www.w3.org/TR/2015/REC-tabular-metadata-20151217/#dialect-descriptions
Constructors
new(string_or_io : String | IO, headers = false, strip = false, separator : Char = DEFAULT_SEPARATOR, quote_char : Char = DEFAULT_QUOTE_CHAR)
Source