struct CsvShapeCheck::Report

Defined in:

csv_shape_check.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(bytes : Int32, records : Int32, bom : Bool, line_endings : String, mixed_endings : Bool, delimiter : String, guessed : Bool, single_column : Bool, header_columns : Int32, empty_header_positions : Array(Int32), duplicate_headers : Array(Tuple(String, Array(Int32))), uneven : Array(Tuple(Int32, Int32, Int32)), blank_lines : Int32, empty_records : Int32, space_cells : Int32, space_examples : Array(Tuple(Int32, Int32)), unterminated_line : Int32 | Nil) #

[View source]

Instance Method Detail

def blank_lines : Int32 #

[View source]
def bom : Bool #

[View source]
def bytes : Int32 #

[View source]
def delimiter : String #

[View source]
def delimiter_is_comma? : Bool #

[View source]
def duplicate_headers : Array(Tuple(String, Array(Int32))) #

[View source]
def empty_header_positions : Array(Int32) #

[View source]
def empty_records : Int32 #

[View source]
def guessed : Bool #

[View source]
def header_columns : Int32 #

[View source]
def line_endings : String #

[View source]
def mixed_endings : Bool #

[View source]
def problems : Array(String) #

Short descriptions of what counts as a problem.


[View source]
def records : Int32 #

[View source]
def render(path : String) : String #

[View source]
def single_column : Bool #

[View source]
def space_cells : Int32 #

[View source]
def space_examples : Array(Tuple(Int32, Int32)) #

[View source]
def uneven : Array(Tuple(Int32, Int32, Int32)) #

[View source]
def unterminated_line : Int32 | Nil #

[View source]