|
1 | 1 | # haven (development version)
|
2 | 2 |
|
3 |
| -* All `write_` functions gain a `.name_repair` argument that controls |
4 |
| - what happens when the input dataset has repeated column names (#436). |
| 3 | +## Partial reading |
5 | 4 |
|
6 |
| -* Can now write labelled vectors with `NULL` labels (#442). |
| 5 | +Thanks to the hard work of @mikmart, all `read_*()` functions gain three new arguments that allow you to read in only part of a large file: |
7 | 6 |
|
8 |
| -* `write_dta()` can now write dataset labels with the `label` argument, |
9 |
| - which defaults to the `label` attribute of the input data frame, if present |
10 |
| - (@gorcha, #449). |
| 7 | +* `col_select`: selects columns to read with a tidyselect interface (#248). |
| 8 | +* `skip`: skips rows before reading data (#370). |
| 9 | +* `n_max`: limits the number of rows to read. |
| 10 | + |
| 11 | +This also brings with it a deprecation: `cols_only` in `read_sas()` has been deprecated in favour of the new `col_select` argument. |
11 | 12 |
|
12 |
| -* Updated to latest ReadStat from @evanmiller |
13 |
| - * Fixes bug when generating files for Stata 15 (#461) |
| 13 | +## Minor improvements and bug fixes |
14 | 14 |
|
15 |
| -* Allows non-unique labels when `levels = "label"` (#424, @gergness) |
| 15 | +* `as_factor()` allows non-unique labels when `levels = "label"`. This fixes |
| 16 | + a particularly annoying printing bug (#424, @gergness) |
16 | 17 |
|
17 | 18 | * `read_sas()` now supports (IS|E|B)8601(DT|DA|TM) date/time formats (@mikmart).
|
18 | 19 |
|
19 |
| -* `read_*()` functions gain three new arguments (@mikmart): |
| 20 | +* All `write_` functions gain a `.name_repair` argument that controls |
| 21 | + what happens when the input dataset has repeated column names (#436). |
| 22 | + |
| 23 | +* All `write_` functions can now write labelled vectors with `NULL` labels |
| 24 | + (#442). |
20 | 25 |
|
21 |
| - * `col_select`: selects columns to read with a tidyselect interface (#248). |
22 |
| - * `skip`: skips rows before reading data (#370). |
23 |
| - * `n_max`: limits the number of rows to read. |
| 26 | +* `write_dta()` can now write dataset labels with the `label` argument, |
| 27 | + which defaults to the `label` attribute of the input data frame, if present |
| 28 | + (@gorcha, #449). |
24 | 29 |
|
25 |
| -* `read_sas()` argument `cols_only` is deprecated. Use the new `col_select` instead. |
| 30 | +* `write_dta()` works better with Stata 15, thanks to updated ReadStat (#461) |
26 | 31 |
|
27 | 32 | # haven 2.1.1
|
28 | 33 |
|
|
0 commit comments