|
7 | 7 | The `table` argument of `dm_filter()` is deprecated as of dm 1.0.0.
|
8 | 8 | i `dm_filter()` now takes named filter expressions, the names correspond to the tables to be filtered. You no longer need to call `dm_apply_filters()` to materialize the filters.
|
9 | 9 | Output
|
| 10 | + -- Table source ---------------------------------------------------------------- |
| 11 | + src: mysql [@localhost:NA/test] |
10 | 12 | -- Metadata --------------------------------------------------------------------
|
11 | 13 | Tables: `tf_1`, `tf_2`, `tf_3`, `tf_4`, `tf_5`, `tf_6`
|
12 | 14 | Columns: 20
|
|
24 | 26 | The `table` argument of `dm_filter()` is deprecated as of dm 1.0.0.
|
25 | 27 | i `dm_filter()` now takes named filter expressions, the names correspond to the tables to be filtered. You no longer need to call `dm_apply_filters()` to materialize the filters.
|
26 | 28 | Output
|
| 29 | + -- Table source ---------------------------------------------------------------- |
| 30 | + src: mysql [@localhost:NA/test] |
27 | 31 | -- Metadata --------------------------------------------------------------------
|
28 | 32 | Tables: `tf_1`, `tf_2`, `tf_3`, `tf_4`, `tf_5`, `tf_6`
|
29 | 33 | Columns: 20
|
|
38 | 42 | The `table` argument of `dm_filter()` is deprecated as of dm 1.0.0.
|
39 | 43 | i `dm_filter()` now takes named filter expressions, the names correspond to the tables to be filtered. You no longer need to call `dm_apply_filters()` to materialize the filters.
|
40 | 44 | Output
|
| 45 | + -- Table source ---------------------------------------------------------------- |
| 46 | + src: mysql [@localhost:NA/test] |
41 | 47 | -- Metadata --------------------------------------------------------------------
|
42 | 48 | Tables: `tf_1`, `tf_2`, `tf_3`, `tf_4`, `tf_5`, `tf_6`
|
43 | 49 | Columns: 20
|
|
50 | 56 | `dm_apply_filters()` was deprecated in dm 1.0.0.
|
51 | 57 | i Calling `dm_apply_filters()` after `dm_filter()` is no longer necessary.
|
52 | 58 | Output
|
| 59 | + -- Table source ---------------------------------------------------------------- |
| 60 | + src: mysql [@localhost:NA/test] |
53 | 61 | -- Metadata --------------------------------------------------------------------
|
54 | 62 | Tables: `tf_1`, `tf_2`, `tf_3`, `tf_4`, `tf_5`, `tf_6`
|
55 | 63 | Columns: 20
|
|
62 | 70 | The `table` argument of `dm_filter()` is deprecated as of dm 1.0.0.
|
63 | 71 | i `dm_filter()` now takes named filter expressions, the names correspond to the tables to be filtered. You no longer need to call `dm_apply_filters()` to materialize the filters.
|
64 | 72 | Output
|
65 |
| - # A tibble: 3 x 4 |
66 | 73 | c d e e1
|
67 | 74 | <chr> <int> <chr> <int>
|
68 |
| - 1 worm 5 G 7 |
| 75 | + 1 cat 7 F 6 |
69 | 76 | 2 dog 6 E 5
|
70 |
| - 3 cat 7 F 6 |
| 77 | + 3 worm 5 G 7 |
71 | 78 | Code
|
72 | 79 | dm_filter(dm_for_filter(), tf_1 = a > 4) %>% dm_apply_filters_to_tbl(tf_2)
|
73 | 80 | Condition
|
74 | 81 | Warning:
|
75 | 82 | `dm_apply_filters_to_tbl()` was deprecated in dm 1.0.0.
|
76 | 83 | i Access tables directly after `dm_filter()`.
|
77 | 84 | Output
|
78 |
| - # A tibble: 3 x 4 |
79 | 85 | c d e e1
|
80 | 86 | <chr> <int> <chr> <int>
|
81 |
| - 1 worm 5 G 7 |
| 87 | + 1 cat 7 F 6 |
82 | 88 | 2 dog 6 E 5
|
83 |
| - 3 cat 7 F 6 |
| 89 | + 3 worm 5 G 7 |
84 | 90 | Code
|
85 | 91 | dm_filter(dm_for_filter(), tf_1, a > 4) %>% dm_get_filters()
|
86 | 92 | Condition
|
|
0 commit comments