Skip to main content

Crate datasus_arrow

Crate datasus_arrow 

Source
Expand description

Apache Arrow front end for datasus_core: reads a DBC/DBF table as a stream of record batches.

Type mapping: integer → Int32, double → Float64, logical → Boolean, date → Date32, character → Utf8 (decoded from the file encoding; never null, blank fields are empty strings).

Structs§

BatchReader
Iterator of record batches over a Table.

Constants§

DEFAULT_BATCH_SIZE
Default number of rows per record batch.

Functions§

schema
Arrow schema of the selected columns. Names are made unique and, with clean_names, lowercased (as datasusr does).