dta 0.5.0

Pure Rust streaming reader and writer for Stata's DTA file format (every released version, 102-119), plus a parser and reader for Stata dictionary (.dct) files.
Documentation
1
2
3
4
5
6
7
8
9
10
/// The numeric sub-format implied by a fixed-width numeric `%infmt`.
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum NumericStyle {
    /// Fixed-point notation (`%w.df`).
    Fixed,
    /// General notation (`%w.dg`) — Stata's default for numerics.
    General,
    /// Scientific notation (`%w.de`).
    Scientific,
}