polars package when loading polarsreadstat package now.read_readstat_metadata() returns the labels of Stata and SAS special
missing values in missing_labels, keyed by their codes (".a", ".A").missing_codes argument of the data readers: adds a <name>_missing
column with the code of each special or user-defined missing value.Initial release.
Multi-threaded data readers : read SAS (.sas7bdat, .xpt), Stata
(.dta, formats 102–119), and SPSS (.sav, .zsav, .por) files into
Polars DataFrames. Supports selective column loading (col_select) and row
slicing (skip, n_max).
read_readstat()read_dta()read_sas()read_xpt()read_sav()read_por()read_stata() (alias for read_dta())read_spss() (read_sav() for .sav and .zsav, read_por() for
.por)Metadata readers : extract metadata without reading row data, returning
a variable summary data frame (labels, display formats, types, and SPSS
display settings) along with value labels and SPSS user-defined missing
values formatted to match haven's labels, na_values, and na_range
attributes.
read_readstat_metadata()read_dta_metadata()read_sas_metadata()read_xpt_metadata()read_sav_metadata()read_por_metadata()read_stata_metadata() (alias for read_dta_metadata())read_spss_metadata() (read_sav_metadata() for .sav and .zsav,
read_por_metadata() for .por)