You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: NEWS.md
+1
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@
5
5
## Features
6
6
7
7
-`df_from_file()` and related functions support multiple files (#194, #195), show a clear error message for non-string `path` arguments (#182), and create a tibble by default (#177).
8
+
- New `as_duckplyr_tibble()` to convert a data frame to a duckplyr tibble (#177).
8
9
- Support descending sort for character and other non-numeric data (@toppyy, #92, #175).
9
10
- Avoid setting memory limit (#193).
10
11
- Check compatibility of join columns (#168, #185).
1. To enable duckplyr for individual data frames, use `duckplyr::as_duckplyr_df()` as the first step in your pipe, without attaching the package.
79
-
1. By calling `library(duckplyr)`, it overwrites dplyr methods and is automatically enabled for the entire session without having to call `as_duckplyr_df()`. To turn this off, call `methods_restore()`.
78
+
1. To enable duckplyr for individual data frames, use `duckplyr::as_duckplyr_tibble()` as the first step in your pipe, without attaching the package.
79
+
1. By calling `library(duckplyr)`, it overwrites dplyr methods and is automatically enabled for the entire session without having to call `as_duckplyr_tibble()`. To turn this off, call `methods_restore()`.
80
80
81
81
The examples below illustrate both methods.
82
82
See also the companion [demo repository](https://github.com/Tmonster/duckplyr_demo) for a use case with a large dataset.
@@ -85,20 +85,20 @@ See also the companion [demo repository](https://github.com/Tmonster/duckplyr_de
85
85
86
86
This example illustrates usage of duckplyr for individual data frames.
87
87
88
-
Use `duckplyr::as_duckplyr_df()` to enable processing with duckdb:
88
+
Use `duckplyr::as_duckplyr_tibble()` to enable processing with duckdb:
Copy file name to clipboardexpand all lines: README.md
+7-7
Original file line number
Diff line number
Diff line change
@@ -41,28 +41,28 @@ Or from [GitHub](https://github.com/) with:
41
41
42
42
There are two ways to use duckplyr.
43
43
44
-
1. To enable duckplyr for individual data frames, use [`duckplyr::as_duckplyr_df()`](https://duckdblabs.github.io/duckplyr/reference/as_duckplyr_df.html) as the first step in your pipe, without attaching the package.
45
-
2. By calling [`library(duckplyr)`](https://duckdblabs.github.io/duckplyr/), it overwrites dplyr methods and is automatically enabled for the entire session without having to call `as_duckplyr_df()`. To turn this off, call `methods_restore()`.
44
+
1. To enable duckplyr for individual data frames, use [`duckplyr::as_duckplyr_tibble()`](https://duckdblabs.github.io/duckplyr/reference/as_duckplyr_tibble.html) as the first step in your pipe, without attaching the package.
45
+
2. By calling [`library(duckplyr)`](https://duckdblabs.github.io/duckplyr/), it overwrites dplyr methods and is automatically enabled for the entire session without having to call `as_duckplyr_tibble()`. To turn this off, call `methods_restore()`.
46
46
47
47
The examples below illustrate both methods. See also the companion [demo repository](https://github.com/Tmonster/duckplyr_demo) for a use case with a large dataset.
48
48
49
49
### Usage for individual data frames
50
50
51
51
This example illustrates usage of duckplyr for individual data frames.
52
52
53
-
Use [`duckplyr::as_duckplyr_df()`](https://duckdblabs.github.io/duckplyr/reference/as_duckplyr_df.html) to enable processing with duckdb:
53
+
Use [`duckplyr::as_duckplyr_tibble()`](https://duckdblabs.github.io/duckplyr/reference/as_duckplyr_tibble.html) to enable processing with duckdb:
<span><spanclass='c'>#> The <spanstyle='color: #0000BB;'>duckplyr</span> package is configured to fall back to <spanstyle='color: #0000BB;'>dplyr</span> when it encounters an</span></span>
0 commit comments